admin 管理员组文章数量: 1184232
I'm trying to integrate php on Apache. Following is versions I'm using
Apache 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/php/install-php-5-apache-windows.shtml). but I'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 thread safety 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/download/
Get Windows PHP binaries here: http://windows.php/download/
参考:
http://stackoverflow/questions/17609096/php5apache2-4-dll-not-found-error
版权声明:本文标题:windows8 x64 php5apache2_4.dll not found error 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/b/1766067086a3433937.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论