jim.davidson Posted May 13, 2011 Share Posted May 13, 2011 Got a new pc running windows7, Installed Apache 2.2.18 and PHP 5.2.17 Apache starts When modifying httpd.conf to add this line.. LoadModule php5_module c:/php5/php5apache2_2.dll and then reboot, apache won't start. Any idea what I'm doing wrong? Any help will be greatly appreciated Quote Link to comment https://forums.phpfreaks.com/topic/236326-new-installation-of-apache-and-php5/ Share on other sites More sharing options...
PFMaBiSmAd Posted May 13, 2011 Share Posted May 13, 2011 Where did you get the php binaries from and what complier (VC6 or VC9) flavor did you get? Where did you get that Apache binary from as well? Also, the php5.2 branch is dead. Why not use the latest php5.3? Quote Link to comment https://forums.phpfreaks.com/topic/236326-new-installation-of-apache-and-php5/#findComment-1215040 Share on other sites More sharing options...
jim.davidson Posted May 13, 2011 Author Share Posted May 13, 2011 I'm a novice at this so be patient please. Here the name of zip file I used php-5.2.17-nts-Win32-VC6-x86 I thought about getting 5.3 but worried about some hosting servers not being up to date with latest version. Would that be an issue? If not, I'll try 5.3 Quote Link to comment https://forums.phpfreaks.com/topic/236326-new-installation-of-apache-and-php5/#findComment-1215049 Share on other sites More sharing options...
PFMaBiSmAd Posted May 13, 2011 Share Posted May 13, 2011 php-5.2.17-nts-Win32-VC6-x86 If you get the Apache binaries from apache.org, they are compiled with the VC6 compiler and the correct php binary would be the VC6 flavors. However, you are attempting to use php as an apache module and you would need to use the thread-safe php binary (nts = not thread safe.) The latest php5.3 binaries only come complied with the VC9 compiler and are not compatible with the apache binary from apache.org. However, you can get apache compiled with the VC9 compiler from this link - http://www.apachelounge.com/ Quote Link to comment https://forums.phpfreaks.com/topic/236326-new-installation-of-apache-and-php5/#findComment-1215053 Share on other sites More sharing options...
jim.davidson Posted May 13, 2011 Author Share Posted May 13, 2011 You know, I wondered about which v6 to use, guess I picked the wrong one. So how hard is loading 5.3 for a novice like me? Would I be better off getting the thread-safe version? Quote Link to comment https://forums.phpfreaks.com/topic/236326-new-installation-of-apache-and-php5/#findComment-1215060 Share on other sites More sharing options...
jim.davidson Posted May 13, 2011 Author Share Posted May 13, 2011 I took the coward's way out and used thread-safe version. All is well and running. Thank you very much for your help. I will be getting a new pc at home shortly and I will try installing 5.3 on it. Quote Link to comment https://forums.phpfreaks.com/topic/236326-new-installation-of-apache-and-php5/#findComment-1215078 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.