PHP cURL不加载Windows 8 64位 [英] PHP cURL not loading Windows 8 64-bit
本文介绍了PHP cURL不加载Windows 8 64位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Windows 8 64位下使用PHP 5.4.9运行Apache 2.4。
尝试为PHP启用cURL扩展,但不加载。
我已尝试:
- 取消注释模块在php.ini中加载的行(是,正确的INI文件)
- 将libeay32.dll和ssleay32.dll复制到C: \\ Windows和C:\Windows \System32
- 以下列来源取代php_curl.dll: http://www.anindya.com/php-5-4-3-and -php-5-3-13-x64-64-bit-for-windows / (我知道它不是正确的版本,但值得一试)
这是DLL文件的问题吗?
解决方案
/ div>
解决了这个问题,在Windows中添加C:\PHP到PATH是解决方案。
I'm running Apache 2.4 with PHP 5.4.9 under Windows 8 64-bit. Trying to enable cURL extension for PHP but it's not loading.
I have tried:
- Uncommented the line where the modules load in php.ini (yes, the correct INI-file)
- Copied libeay32.dll and ssleay32.dll to C:\Windows and C:\Windows\System32
- Replaced php_curl.dll with the one from: http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/ (I know it's not the correct version, but worth a try)
Is it the DLL-file that's the problem? Where can I find something that will work with my setup?
Thanks in advance!
解决方案
Solved it, adding C:\PHP to the PATH in Windows was the solution.
这篇关于PHP cURL不加载Windows 8 64位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文