installation problem with php and Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Dear Sir,

I would like to start programming using PHP,Apatche and MySql but I
couldn't start PHP.
I installed Apache v.2.2.15 ( directory c:\apatche2.2). It works.
I installed PHP 5.2.13 for Windows to directory "c:/php" and add :

PHPIniDir = "c:/php/"
LoadModule php5_module "c:/php/php5apache2_2.dll"
AddType application/x-httpd-php .php

to httpd.conf.After this change, the service of Apatche couldn't start.
I get error: service specific error code nr 1.

According to "install.txt" , I should use "php.ini-production" ( or
php.ini-development) for php.ini .
Unfortunatelly, there are only "php.ini-recommended" and
"php.ini-dist" files (maybe you should change install.txt file). I
copied "php.ini-recommended" to php.ini file and add line:
doc_root = c:/apatche2.2/htdocs

I also added path "c:\php" to windows enviromnent path and copied
php.ini and copied this file and "php5ts.dll" to "Windows\System32"
catalog.
This all I can do.
I use Windows XP Services Pack 2 or 3 (2 computers).

Henryk.

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux