Re: [PHP-INSTALL] installation problem with php and Apache

[email protected] (Nilesh Govindarajan)
Newsgroups php.install
Message-ID <[email protected]>
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
मेरा भारत महान !
मम भारत: महत्तम भवतु !
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.