windows8 x64 php5apache2_4.dll not found error

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.com/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.com/download/

Get Windows PHP binaries here: http://windows.php.net/download/



参考:


http://stackoverflow.com/questions/17609096/php5apache2-4-dll-not-found-error

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值