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
https://forums.phpfreaks.com/topic/102056-solved-httpdconf-problemsplease-help-me/
Share on other sites

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.