Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: PHP5.2 on Apache2.0.58 |
|
Author |
|
Wuahaha
Joined: 13 Dec 2006 Posts: 3
|
Posted: Wed 13 Dec '06 10:55 Post subject: PHP5.2 on Apache2.0.58 |
|
|
Hi, I have Apache2.0.58 installed and I'm trying to setup PHP5.2 on it with the following added to httpd.conf:
PHPIniDir "C:\PHP\"
LoadModule php5_module "C:\PHP\php5apache2.dll"
I'm sure the path is right and seems like the dll is loaded, but I have error 404 when accessing to http://localhost/phpinfo.php
The phpinfo.php is located in C:\Apache\Apache2\htdocs
Compatibility issues? BTW I have a few VirtualHost and using mod-jk. Do I need a redirection? Any help would be appreciated. Thanks. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 13 Dec '06 15:40 Post subject: |
|
|
What is in your error.log? 404 Means always FILE NOT FOUND.
By the way: did you add AddType application/x-httpd-php .php ? |
|
Back to top |
|
Wuahaha
Joined: 13 Dec 2006 Posts: 3
|
Posted: Wed 13 Dec '06 15:48 Post subject: |
|
|
Yes I have added the AddType.
I think it has to something to do with redirection. Actually I want to use phpAdsNew, but I have a few Tomcats running at different ports. I'm using:
# Include mod_jk configuration file
Include conf/mod-jk.conf
If I comment out the mod-jk it works fine with http://localhost/phpAdsNew/index.php
BTW, I've upgraded to Apache2.2.3 so I guess is not Apache problem, just wrong redirection. So how do I redirect it? Thanks for reply! |
|
Back to top |
|
|
|
|
|
|