问题
Ok, I have read this and this.
I have done the following:
- Enabled
extension=php_curl.dll
in bothc:\wamp\bin\apache\apache2.2.22\php.ini
andc:\wamp\bin\php\php5.3.13\php.ini
- Downloaded curl here and replaced
php_curl.dll
inc:\wamp\bin\php\ext\
- Added
c:\wamp\bin\php\php5.3.13\
to PATH (cozlibeay32.dll
andssleay32.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\
- Copied and Pasted
libeay32.dll
andssleay32.dll
toc:\Windows
andc:\Windows\System32
- 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