Jump to content

How to configure PHP 5 with Apache


Recommended Posts

Congrats and thanks for helping,i can see the test page now.

In PHP.Ini the doc_root has the wrong value

It shoudl have "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs" and

 

still i can see the test.php coming up fine.Why is that so ?

then What this tag does ?

  • 1 month later...

Why is this happening???

 

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

AddHandler application/x-http-php .php

PHPIniDir "C:/Program Files/PHP"

 

Above is what I added to my apache2.2 httpd

 

When I execute Apache (with these lines)

 

Apache won't start now. It complains that it can not load C:/Program Files/php/php5apache2_2.dll The specified module can not be found.

 

WHAT? Hay mr apache serve... it's right where I told you find it. what's the deal?

 

I tired to post a screen picture of my C:/Program Files/Php but that's beyond me too it seems with the edit option on this forum

 

 

[attachment deleted by admin]

Why is this happening???

 

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

AddHandler application/x-http-php .php

PHPIniDir "C:/Program Files/PHP"

 

Above is what I added to my apache2.2 httpd

 

When I execute Apache (with these lines)

 

Apache won't start now. It complains that it can not load C:/Program Files/php/php5apache2_2.dll The specified module can not be found.

 

WHAT? Hay mr apache serve... it's right where I told you find it. what's the deal?

 

I tired to post a screen picture of my C:/Program Files/Php but that's beyond me too it seems with the edit option on this forum

 

 

the moderator can delete this!

I had used a install version that was automatic. Read the docs I was following didn't use the same auto install.  I went and extracted all the files from a zipped version of the same php version and that fixed this problem.  Something else must have been missing or maybe it was a permissions attribute?

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.