Can't enable CURL - WAMP on Windows 7 64 bit - PHP 5.3.13 Apache 2.2.22

☆樱花仙子☆ 提交于 2019-12-10 09:43:17

问题


Ok, I have read this and this.

I have done the following:

  1. Enabled extension=php_curl.dll in both c:\wamp\bin\apache\apache2.2.22\php.ini and c:\wamp\bin\php\php5.3.13\php.ini
  2. Downloaded curl here and replaced php_curl.dll in c:\wamp\bin\php\ext\
  3. Added c:\wamp\bin\php\php5.3.13\ to PATH (coz libeay32.dll and ssleay32.dll are there). My PATH is as follows btw:
    C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\wamp\bin\php\php5.3.13\
  4. Copied and Pasted libeay32.dll and ssleay32.dll to c:\Windows and c:\Windows\System32
  5. Restarted Apache a number of times

There is still absolutely no sign of curl in phpinfo().

What have missed here?


回答1:


no need to take shortcut of installing Wamp, i would suggest to install the Apache,MySql and Php stack individually.
I also came across this curl problem in wamp so i switched to installing them individually. you can follow these links with detailed description and slides to configure all three :-
1. Mysql
http://www.webdevelopersnotes.com/how-do-i/install-mysql-windows-7.php
2. Apache
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

This is one time process and is standard way to carry out things . You can also look into this(same for Win 7) :-
http://www.scribd.com/doc/11197274/Installation-of-Drupal-on-Windows-XP-using-Apache-Mysql-and-PHP

Hope it helps .




回答2:


You need a fixed version of curl (bottom of the page) from here: http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/

Original answer: https://stackoverflow.com/a/10977022/965907




回答3:


worked this curl dll for me

(php_curl-5.4.3-VC9-x64.zip)
http://www.mediafire.com/file/3ay381k3cq59cm2/php_curl-5.4.3-VC9-x64.zip

found from http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/

apache - 2.4.2 php - 5.4.3



来源:https://stackoverflow.com/questions/13228709/cant-enable-curl-wamp-on-windows-7-64-bit-php-5-3-13-apache-2-2-22

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!