Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.