BlinkSumGreen Posted September 26, 2007 Share Posted September 26, 2007 I'm trying to learn PHP and am trying to set up Apache and I changed the httpd.conf file and added: LoadModule php5_module c:/php5/php5apache2.dll It says it can't locate the file, but I know that it exists. Any help would be great, Quote Link to comment https://forums.phpfreaks.com/topic/70723-trouble-setting-up-apache/ Share on other sites More sharing options...
wildteen88 Posted September 26, 2007 Share Posted September 26, 2007 What version of Apache do you have installed? Note: PHP comes with there Apache modules these are following: php5apache.dll - for use with Apache1.3.x php5apache2.dll - for use with Apache2.0.x php5apache2_2.dll = for use with Apache2.2.x You must use the correct Apache module for the version of Apache you have installed. Quote Link to comment https://forums.phpfreaks.com/topic/70723-trouble-setting-up-apache/#findComment-355850 Share on other sites More sharing options...
BlinkSumGreen Posted September 26, 2007 Author Share Posted September 26, 2007 I have version 2.2, so I changed it to be 'php5apache2_2.dll', and now I don't get an error anymore, but Apache itself won't open... and I tried putting a document in the htdocs folder and open it in a browser, but it doesn't work. <?php phpinfo(); ?> Unless that's wrong, I don't know what's up. Quote Link to comment https://forums.phpfreaks.com/topic/70723-trouble-setting-up-apache/#findComment-355915 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.