PDA

View Full Version : Apache help needed: Can't seem to configure httpd.conf to load the PHP module.


fiasco
11-22-2006, 08:05 PM
I've got all my PHP files installed in C:/PHP but when I try to tell Apache to load the module "C:/PHP/php5apache2.dll" it tells me that "the specified module could not be found" even though I've double-checked the location a hundred times. Could it possibly have something to do with the fact that the Apache server is located in "C:/Program Files/Apache Software Foundation/Apache2.2" and not the same directory as the php files? Also, I'm follwing instructions from "Learning PHP & MySQL" by Michele Davis, and it's telling me I need to use a module called php2apache2.dll but it wasn't included in the version of PHP I downloaded - the closest thing to it was php5apache2.dll .

Any help with this would be GREATLY appreciated!

nox-Hand
11-24-2006, 02:51 PM
I would look over my Apace.conf - should be somewhere in your install?

Then I would wonder how this is a Linux question when you are using Windows? :) It's not your fault, though. The title for this forum does point here for Apache stuff, but that should maybe be changed...

fiasco
11-25-2006, 06:12 AM
Sorry. :-/ This was the only place I saw at first glance that had to do with Apache. I'm brand new with this, so I haven't a clue where else it might go.

nox-Hand
11-25-2006, 12:09 PM
Sorry if it came out as an attack, I did not mean it that way! I also pointed out that it says this is the place, when it really shouldn't be. It should be an Apache Section alone, but we don't have that :)

coggz
12-06-2006, 04:36 PM
I am using PHP5 with apache 2.2, i got it working for a while, but now it just crashes. Here is my config:

LoadModule php5_module "c:/Program Files/PHP/php5apache2_2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/Program Files/PHP/php.ini