简体   繁体   中英

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

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?

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 .

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM