好的,我已阅读this https://stackoverflow.com/questions/10939248/php-curl-not-working-wamp-on-windows-7-64-bit and this https://stackoverflow.com/questions/1343514/how-to-get-curl-to-work-with-php-on-windows-wamp.
我做了以下事情:
- Enabled
extension=php_curl.dll
同时c:\wamp\bin\apache\apache2.2.22\php.ini
and c:\wamp\bin\php\php5.3.13\php.ini
- 下载的卷曲here http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/并更换
php_curl.dll
in c:\wamp\bin\php\ext\
- Added
c:\wamp\bin\php\php5.3.13\
到路径(因为libeay32.dll
and ssleay32.dll
在那儿)。顺便说一句,我的路径如下:
C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\wamp\bin\php\php5.3.13\
- 复制并粘贴
libeay32.dll
and ssleay32.dll
to c:\Windows
and c:\Windows\System32
- 重启Apache多次
phpinfo()中仍然完全没有curl的迹象。
这里错过了什么?
无需走捷径安装 Wamp,我建议单独安装 Apache、MySql 和 Php 堆栈。
我也在 wamp 中遇到了这个卷曲问题,所以我转而单独安装它们。您可以点击这些包含详细说明和幻灯片的链接来配置这三个:-
1.MySQL
http://www.webdevelopersnotes.com/how-do-i/install-mysql-windows-7.php http://www.webdevelopersnotes.com/how-do-i/install-mysql-windows-7.php
2.阿帕奇
http://www.webdevelopersnotes.com/how-do-i/install-apache-windows-7.php http://www.webdevelopersnotes.com/how-do-i/install-apache-windows-7.php
3.Php
http://www.webdevelopersnotes.com/how-do-i/install-PHP-windows-7.php http://www.webdevelopersnotes.com/how-do-i/install-PHP-windows-7.php
这是一次性过程,并且是执行操作的标准方式。你也可以看看这个(Win 7 也一样):-
http://www.scribd.com/doc/11197274/Installation-of-Drupal-on-Windows-XP-using-Apache-Mysql-and-PHP http://www.scribd.com/doc/11197274/Installation-of-Drupal-on-Windows-XP-using-Apache-Mysql-and-PHP
希望能帮助到你 。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)