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: php 5.2.4 on XP Sp2 w/ Apache 2.2 |
|
Author |
|
jsabarese
Joined: 19 May 2006 Posts: 10 Location: USA, State College
|
Posted: Wed 24 Oct '07 19:56 Post subject: php 5.2.4 on XP Sp2 w/ Apache 2.2 |
|
|
i've been using php 5.2.3 w/ apache 2.2 just fine for several months on this system. wanting to use some PEAR extensions, i decided to check the state of pear by using the CLI > pear
command. XP says no command by that name, so i tried go-pear.bat
i don't think that worked correctly, so i decided-- since the PEAR package installer is supposedly "bundled with PHP"-- i would install 5.2.4 with the MSI installer.
i made the unfortunate decision to install "over top of" the existing php.5.2.3
realizing that this was a bad idea, i did create a .RAR of the folder, then deleted it. then started over with the 5.2.4 MSI
i selected to run the entire software package from the hard drive, such that all .dll's, etc were to be unpacked under c:\PHP\*
doing my best to configure the httpd.conf, and php.ini, (leaving things mostly unchanged) but ensuring that paths to C:\php\php.ini etc are correct, and the XP environment vars etc are in place, restarted the sys. with Startup errors set to on, i see that the server claims that EVERY .dll can not be found, though the path C:\PHP\ext\*.dll is correct for each of them.
the other remarkable behaviour is that when i load a php file on localhost, it causes Apache2.2 to shutdown. for example, #ttp://localhost/phpinfo.php will load, showing all of the configuration parameters, but by the time it's fully loaded, it then attempts to redirect to "www.localhost.com", while seeming to simultaneously "kill" the Apache service.
i've never witnessed this sort of behaviour in the past, having used php since ver. 4.x and apache 1.3. this is the first i've felt "stumped" on a PHP / Apache configuration in over 2 years of dedicated study.
suggestions?
thank you! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 31 Oct '07 10:54 Post subject: |
|
|
Did you change extension_dir?
e.g.
extension_dir = "c:/php/ext/" |
|
Back to top |
|
|
|
|
|
|