Re: installation problem with php and Apache
| From: | Nilesh Govindarajan | Date: | Wed, 31 Mar 2010 10:43:02 +0000 |
| Subject: | Re: installation problem with php and Apache | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-19907@lists.php.net to get a copy of this message | ||
On 03/31/2010 01:41 PM, Henryk Cichy wrote:
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.I think you need to put the PHPIniDir directive after the LoadModule one. Try it out. -- Nilesh Govindarajan Site & Server Administrator www.itech7.com मेरा भारत महान ! मम भारत: महत्तम भवतु !