cooler Posted August 10, 2011 Share Posted August 10, 2011 I have installed apache, httpd-2.2.19-win32-x86-openssl-0.9.8r.msi, localhost displaying "It works!" so i think it works I have installed PHP, php-5.2.17-Win32-VC6-x86.msi, everything seems ok. Then i tried to add (LoadModule php5_module "c:/php/php5apache2_2.dll") to the httpd.conf. stopped apache and when i tried to restart it, "The requested operation has failed"! remove the added line and i can start apache again. Tried apache 2.0 but same thing, i don't know what is wrong as i can see php5apach2_2.dll in the php folder. The c:\php is in the PATH environment. FYI-I've installed the 'not thread-safe' version of the php but uninstalled it and then installed the 'thread-safe' one so i thought that would solve the problem but it didn't. Please helppppppppppppppppppppppp! Quote Link to comment https://forums.phpfreaks.com/topic/244394-loadmodule-php5_module-cphpphp5apache2_2dll/ Share on other sites More sharing options...
cags Posted August 10, 2011 Share Posted August 10, 2011 Have you checked your apache log, this will likely contain the answer. Quote Link to comment https://forums.phpfreaks.com/topic/244394-loadmodule-php5_module-cphpphp5apache2_2dll/#findComment-1255517 Share on other sites More sharing options...
cooler Posted August 11, 2011 Author Share Posted August 11, 2011 Thanks for your reply! The 'Review Error Log' have the following entry when I tried to start Apache with (LoadModule php5_module "c:\php\php5apache2_2.dll") in httpd.conf Quote [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? Unqoute does that help? Quote Link to comment https://forums.phpfreaks.com/topic/244394-loadmodule-php5_module-cphpphp5apache2_2dll/#findComment-1255654 Share on other sites More sharing options...
PFMaBiSmAd Posted August 11, 2011 Share Posted August 11, 2011 The .msi php installer is supposed to completely integrate php with the web server. You should not need to do anything after running the .msi installer. Quote Link to comment https://forums.phpfreaks.com/topic/244394-loadmodule-php5_module-cphpphp5apache2_2dll/#findComment-1255655 Share on other sites More sharing options...
cooler Posted August 13, 2011 Author Share Posted August 13, 2011 Tried to look for solutions on the web for the last few days but couldn't find any..... still not working!!!! =( Quote Link to comment https://forums.phpfreaks.com/topic/244394-loadmodule-php5_module-cphpphp5apache2_2dll/#findComment-1256679 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.