yshua Posted November 4, 2012 Share Posted November 4, 2012 Dear Forum extreme people: Am using Windows 7, Apache2.2.17, PHP5.2.17, MySQL5.1.65. Am getting the original emsg when installing PHP and Apache2.2.17 a year ago, but clueless again as to why.... The module, "php5apache2.dll," exists in all possible locations: httpd.exe: Syntax error on line 496 of C:/Program Files (x86)/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/PHP/php5apache2.dll into server: The specified module could not be found. Here are the offensive lines at the bottom of httpd.conf: LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php #configure the path to php.ini PHPIniDir "C:/php/" Have googled the above emsg without any answers working. And, perhaps someone with experience could recommend a needed PHP version to work, besides the PHP5.3.8 that used to work on my system before having to reinstall Windows 7 on this server? Thanks, Yshua Link to comment https://forums.phpfreaks.com/topic/270279-unable-to-find-php5apache2_2dll-emsg-must-be-blinded/ Share on other sites More sharing options...
PFMaBiSmAd Posted November 4, 2012 Share Posted November 4, 2012 The dll that you use with apache 2.2 is - php5apache2_2.dll though I'm not sure that alone is causing the error you are getting. Link to comment https://forums.phpfreaks.com/topic/270279-unable-to-find-php5apache2_2dll-emsg-must-be-blinded/#findComment-1390132 Share on other sites More sharing options...
yshua Posted November 4, 2012 Author Share Posted November 4, 2012 Dear PFMaBiSmAd: I goofed! You are quite right. However, that still failed to fix the madness. Same error, only with httpd.exe: Syntax error on line 496 of C:/Program Files (x86)/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/PHP/php5apache2_2.dll into server: The specified module could not be found. Now it simply returns your correction to me. Just in case, here is the new capitalized PHP and C:/ version of last four lines: LoadModule php5_module "C:/PHP/php5apache2_2.dll" AddType application/x-httpd-php .php #configure the path to php.ini PHPIniDir "C:/PHP/" Thanks again! Link to comment https://forums.phpfreaks.com/topic/270279-unable-to-find-php5apache2_2dll-emsg-must-be-blinded/#findComment-1390182 Share on other sites More sharing options...
yshua Posted November 4, 2012 Author Share Posted November 4, 2012 Dear forum people: Success at last (over a month)! Broke it down that the PHP file might need to be the original PHP5.3.8, and found a PHP directory lying around and it restarted perfectly. Thanks, PFMaBiSmAd, because that little typo could have cost me a lot! Well, something for the detail conscious.... Thanks everyone, Yshua Link to comment https://forums.phpfreaks.com/topic/270279-unable-to-find-php5apache2_2dll-emsg-must-be-blinded/#findComment-1390209 Share on other sites More sharing options...
n00 Posted October 23, 2013 Share Posted October 23, 2013 Hi Yshua, I hope you're still here, it's been a year since you posted. Could you elaborate on your solution to the problem? I'm getting the same error; a fresh install of Apache and PHP,and the file that it says could not be found is definitely there. Link to comment https://forums.phpfreaks.com/topic/270279-unable-to-find-php5apache2_2dll-emsg-must-be-blinded/#findComment-1455150 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.