ms1990kl Posted June 10, 2009 Share Posted June 10, 2009 I am a total non-expert, but I have successfully loaded Apache-PHP-mysql on 3 computers (2XP and one Vista). I am trying to load it onto my new netbook, and have experienced a problem I have never had. Apache works fine alone, but when I try to make it work with PHP I get the error message that there is a syntax code in my httpd.conf file and I get the following: "Cannot load C:/php/php5apache2.dll into server. The specified module could not be found. The following line was pasted from my httpd.conf file: LoadModule php5_module c:/php/php5apache2.dll PHP is loaded into C:\php In the environment variables in Control Panel -> System I have a path to C:\php and the system variable PHPRC is defined as C:\php. At the end of the httpd.conf file I have the following line: AddType application/x-httpd-php .php although I don't know what it does. This has worked perfectly in my previous 3 installations. I cannot figure out why Apache is not seeing the file php5apache2.dll in my C:\php folder. All the backslashes and forward slashes are correct. Any ideas. Any help would be greatly appreciated. Thanks, Michael Smith Quote Link to comment https://forums.phpfreaks.com/topic/161725-cannot-load-cphpphp5apache2dll/ Share on other sites More sharing options...
wildteen88 Posted June 11, 2009 Share Posted June 11, 2009 What version of Apache have you installed? PHP comes with three versions of the Apache module, as listed below php5apache.dll is for Apache1.3.x php5apache2.dll is for Apache2.0.x php5apache2_2.dll is for Apache2.2.x make sure your loading the correct module for the version of Apache you're using. Quote Link to comment https://forums.phpfreaks.com/topic/161725-cannot-load-cphpphp5apache2dll/#findComment-853893 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.