APC-无法加载动态库 [英] APC - Unable to load dynamic library
本文介绍了APC-无法加载动态库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这就是我的PHP.ini中的内容:
Here is what I have in my PHP.ini:
extension=php_apc.dll
...
[APC]
apc.enabled = 1
我正在Windows Server 2003上运行Apache 2.0.59,PHP版本5.2.3.
I'm running Apache 2.0.59, PHP version 5.2.3 on Windows Server 2003.
我已经安装了用vc6编译的XDebug.因此,我得到了APC版本5.2 vc6.这是我下载的两个文件名(并将* .dll放入php/ext/).
I've already installed XDebug compiled with vc6. Thus, I got the APC version 5.2 vc6. Here are both filenames that I downloaded (and put the *.dll in php/ext/).
php_apc-3.1.5-5.2-vc6-x86.zip php_apc-3.1.5-5.2-nts-vc6-x86.zip
php_apc-3.1.5-5.2-vc6-x86.zip php_apc-3.1.5-5.2-nts-vc6-x86.zip
我在此处找到了他们.
我尝试重新启动服务器,在两种情况下,都会出现以下错误:
I've tried rebooting the server and in both cases, I get the following error:
PHP Warning: PHP Startup: Unable to load dynamic library './ext/php_apc.dll' - The specified module could not be found.\r\n in Unknown on line 0
推荐答案
- 首先,我此处
- 然后,我下载了适用于PHP 5.2.3的PECL模块集合
- 然后,我提取了php_apc.dll文件并将其复制到ext/文件夹中
- 重新启动Apache
- 行得通!
- First, I went here
- Then, I downloaded Collection of PECL modules for PHP 5.2.3
- Then, I extracted the php_apc.dll file and copied it in the ext/ folder
- Restarted Apache
- It works!
这篇关于APC-无法加载动态库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文