I have tried and tried to get the module to work. I downloaded the PHP (zip version) the Apache server and also there is MySQL 5 series on the box.
I unzipped PHP to a directory in Program Files (called php5) and basically tried to restart and apache and get the "request failed"... when I look at my event viewer (applications) log -- it says it can not load the module because it was not found?
Any ideas on what i am missing here?
My Apache config file has the following lines in it righ beneath the other LoadModule lines:
# Enable PHP5
LoadModule php5_module "C:/Program Files/php5/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/Program Files/php5"
And the files are installed to Program Files/php5 and the DLL does indeed exist there.
I am so lost as to why Apache can not see the file?
Just confirmed that indeed Apache is fine as long as those above lines are commented out. Add them back.. error.
Thanks,
Having an Issue with PHP 5.1.4 Apache 2.2.2 and Windows XP
Moderator: General Moderators
-
irishmike2004
- Forum Contributor
- Posts: 119
- Joined: Mon Nov 15, 2004 3:54 pm
- Location: Lawrence, Kansas
-
irishmike2004
- Forum Contributor
- Posts: 119
- Joined: Mon Nov 15, 2004 3:54 pm
- Location: Lawrence, Kansas
solved this
Found a package called XAMPP for Windows that has everything configured. This solved the problem and of course, I being of curious mind went into the config files to see what they did 
FYI: They used the Include function of Apache 2.2.2 and moved the handler (php5apache2.dll) into the Apache/Bin directory. I assume doing this on a regular install would also work, but why back off the install just to try it! I now know this for the future
Anyhow, I now have a working WAMP installation using Apache 2.2.2, PHP 5.1.4, and MySQL 5.0.x.
FYI: They used the Include function of Apache 2.2.2 and moved the handler (php5apache2.dll) into the Apache/Bin directory. I assume doing this on a regular install would also work, but why back off the install just to try it! I now know this for the future
That's odd... When i look at http://www.wampserver.com/en/:
I might be mistaken, but i was pretty sure you would need php5apache2_2.dll if you were really using apache2.2... And i think that this dll is only distributed with the php5.2 branch for now...Applications have also been updated (MySQL 5.0.22, Apache 2.0.58, phpmyadmin 2.8.1) as well as PHP4, MySQL administration and Zend Optimizer add-ons.
-
irishmike2004
- Forum Contributor
- Posts: 119
- Joined: Mon Nov 15, 2004 3:54 pm
- Location: Lawrence, Kansas
that's odd
@timv
What you point out may be true, but all I know is that the XAMPP works.
http://www.apachefriends.org/en/xampp-windows.html
Installed and it works and my apache is most definitely 2.2.2 and the PHP is most definitely 5.1.4... so they tweaked it and made it work. This app installs everything for you though.
What you point out may be true, but all I know is that the XAMPP works.
http://www.apachefriends.org/en/xampp-windows.html
Installed and it works and my apache is most definitely 2.2.2 and the PHP is most definitely 5.1.4... so they tweaked it and made it work. This app installs everything for you though.