installation problem with php and Apache
| From: | Henryk Cichy | Date: | Wed, 31 Mar 2010 08:11:39 +0000 |
| Subject: | installation problem with php and Apache | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-19906@lists.php.net to get a copy of this message | ||
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.