windows8 x64 php5apache2_4.dll not found error
I'm trying to integrate php on Apache. Following is versions I'm usingApache 2.4 (httpd-2.0.64-win32-x86-openssl-0.9.8o) PHP (php-5.5.0-Win32-VC11-x64.zip)
I'm setting this on a 64 bit windows 7 machine. I have made the configurations as per (http://www.thesitewizard.com/php/install-php-5-apache-windows.shtml). butI'm getting "Cannot load C:/php/php5apache2_4.dll into server: The specified module could not be found.". Though i have place the dll in the specified folder.
This is my httpd.conf entry LoadModule php5_module "C:/php/php5apache2_4.dll".
Can someone let me know what could be the problem here? Is there any version compatible issues ??
answer:
The only way I've been able to get PHP (5.5) to work with Apache (2.4) on Windows (7 and 8) is to make sure Apache and PHP are both either 32-bit (x86)or 64-bit (x64) and that Apache and PHP are both Thread Safe (TS). Using Non-Thread Safe (NTS) did not work for me, and the Thread Safe build comes bundled with the needed Apache Module for PHP "php5apache2_4.dll". Once all my bit-depths and threadsafety was matched up, Apache 2.4 and PHP 5.5 work well together on my Windows systems.
Get Windows Apache binaries here: http://www.apachelounge.com/download/
Get Windows PHP binaries here: http://windows.php.net/download/
参考:
http://stackoverflow.com/questions/17609096/php5apache2-4-dll-not-found-error
版权声明:本文为博主原创文章,未经博主允许不得转载。
页:
[1]