Jump to content

[SOLVED] httpd.conf problems..PLEASE HELP ME


s_ff_da_b_ff

Recommended Posts

 

Hi Im a PHP newbie and Im sitting here trying to get Apache to recognize PHP but when I try to update my httpd.conf folder It wont let me save. Im trying to add these lines in:

 

LoadModule php5_module "c:/PHP/php5apache2_2.dll"

AddHandler application/x-httpd-php .php

# configure the path to php.ini

PHPIniDir "c:/Windows"

 

SO that Apache will recognize PHP. However everytime I put that in and then go to save I get the error:

 

"Cannot create the C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf file

 

Make sure the path and file name are correct"

 

Then I make sure that it is right and I click save again and it asks me if I want to replace the httpd.conf file that already exists and I say YES and then it just shows me that error again.

 

If you can help me it would be much appreciated im getting very frustrated Ive been trying to figure it out for a long time now

 

THANKS

Link to comment
Share on other sites

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.