ishfady Posted December 3, 2009 Share Posted December 3, 2009 Hi I have windows XP on my intel pc. I have installed Apache2.2.14 and it work fine. Then I installed PHP 5.3.1. I have following setup in httpd.conf. LoadFile "C:/Program Files/php/php5ts.dll" LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll" But I can't start apache with this two entrys in httpd.conf When start Apache, it doesn't start. I am not getting any error. Only popup windows with message "The Requested Operation has Fail" Please someone help. cheers Quote Link to comment https://forums.phpfreaks.com/topic/183849-problem-starting-apache-2214-after-installing-php-531/ Share on other sites More sharing options...
ishfady Posted December 3, 2009 Author Share Posted December 3, 2009 Hi I have windows XP on my intel pc. I have installed Apache2.2.14 and it work fine. Then I installed PHP 5.3.1. I have following setup in httpd.conf. LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll" But I can't start apache with this two entrys in httpd.conf When start Apache, it doesn't start. I am not getting any error. Only popup windows with message "The Requested Operation has Fail" Please someone help. cheers Quote Link to comment https://forums.phpfreaks.com/topic/183849-problem-starting-apache-2214-after-installing-php-531/#findComment-970445 Share on other sites More sharing options...
ChaosKnight Posted December 4, 2009 Share Posted December 4, 2009 Why can't I find the php5apache2_2.dll in my php folder? I downloaded PHP 5.3.1 yesterday and tried to figure it out. I also searched my entire PC for the dll with no luck... Any ideas? If this question was already answered, can you please post a link to that thread for me? Sorry, I didn't have time to search the entire forum... Thanks Quote Link to comment https://forums.phpfreaks.com/topic/183849-problem-starting-apache-2214-after-installing-php-531/#findComment-971072 Share on other sites More sharing options...
ChaosKnight Posted December 23, 2009 Share Posted December 23, 2009 Lol I fixed my problem, I downloaded VC9, not VC6 Quote Link to comment https://forums.phpfreaks.com/topic/183849-problem-starting-apache-2214-after-installing-php-531/#findComment-983286 Share on other sites More sharing options...
HandNF Posted December 27, 2009 Share Posted December 27, 2009 I'm having the same problem with my Apache server. I downloaded the latest versions of each (as far as I can tell), have VC6 PHP, and have everything linked. I am using Windows XP LoadModule php5_module "C:/PHP/php5apache2_2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/PHP/" <FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch> Loadfile "C:/PHP/php5ts.dll" That is what I've inserted into into httpd.conf Thank you in advance. Quote Link to comment https://forums.phpfreaks.com/topic/183849-problem-starting-apache-2214-after-installing-php-531/#findComment-984381 Share on other sites More sharing options...
wildteen88 Posted December 27, 2009 Share Posted December 27, 2009 These lines are not needed <FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch> Loadfile "C:/PHP/php5ts.dll" Remove them. Make sure you have restarted Apache after making any changes to the httpd.conf. You should also add PHP to the PATH Environment Variable. Do not configure the php.ini until Apache/PHP are working. Quote Link to comment https://forums.phpfreaks.com/topic/183849-problem-starting-apache-2214-after-installing-php-531/#findComment-984508 Share on other sites More sharing options...
HandNF Posted December 27, 2009 Share Posted December 27, 2009 I'm now wondering if I really need Apache. Are there any actual advantages to using it? Could I just upload my php files to an online server, or use a program like Microsoft's Expression Web? I did what you advised, but Apache still is giving me the same error. I took the dll and moved it to a bunch of places and changed the directory, but it still cannot locate the module. Quote Link to comment https://forums.phpfreaks.com/topic/183849-problem-starting-apache-2214-after-installing-php-531/#findComment-984584 Share on other sites More sharing options...
surfinblind Posted January 24, 2010 Share Posted January 24, 2010 I know this thread is a month old but for sake of keeping the board clean I will post here. I am having this exact same problem. Secondly, until today I have no experience with Apache or PHP but I am not a total fool *I am using Apache 2.2.14 with open ssl , PHP 5.3.1 not thread safe VC6 x86, XPSP3. *I have placed my php folder into the path variable and rebooted. In the error log I get: cannot open php5apache2_2.dll. The module cannot be located. I have dl'ed the dll and placed it in my php folder and still nothing. I have searched many forums and tried many fixes but none work. This is the code used: <code>LoadModule php5_module "C:/server/php/php5apache2_2.dll" PHPIniDir "C:/server/php"</code> Thanks for any help, it works for other people so I am sure I am doing something wrong. Quote Link to comment https://forums.phpfreaks.com/topic/183849-problem-starting-apache-2214-after-installing-php-531/#findComment-1000625 Share on other sites More sharing options...
surfinblind Posted January 24, 2010 Share Posted January 24, 2010 To anyone else with this problem, I solved my problem by installing 5.3.1 VC6 THREAD SAFE x86. I am using Apache 2.2.14 from Apache.org. Quote Link to comment https://forums.phpfreaks.com/topic/183849-problem-starting-apache-2214-after-installing-php-531/#findComment-1000638 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.