Jump to content

Problem starting Apache 2.2, after PHP 5.3.1


Recommended Posts

Hi

 

I have windows XP on my intel pc.

I have installed Apache2.2 and it work fine.

Then I installed PHP 5.3.1.

When I start apache, I get following error

 

Syntax error on line 128 of

C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf:

Invalid command 'PHPIniDir', perhaps misspelled or defined by a module not

included in the server configuration

 

I don't under this error.

Please can someone help to sort this problem.

 

Many thank

 

 

thank mate

 

So do I have remove PHPIniDir from httpd.conf.

 

Now I only have this

 

#PHPIniDir "C:/Program Files/PHP/"

LoadFile "C:/Program Files/php/php5ts.dll"

LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"

 

But I still can't start apache with this two entry in httpd.conf

I am not getting any error. Only popup windows with message

"The Requested Operation has Fail"

 

Please someone help.

 

cheers

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.