PHP cURL not working - WAMP on Windows 7 64 bit
Go to http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/ and download the cURL version that corresponds to your PHP version under "Fixed curl extensions:".
So if you have PHP 5.3.13, download "php_curl-5.3.13-VC9-x64.zip". Try the "VC" version first. Then replace the php_curl.dll in ext folder. This worked for me.
Wamp server - curl is not working
- Close WAMP (if running)
- Navigate to
WAMP\bin\php\(your version of php)\
- edit
php.ini
- Search for curl, uncomment
extension=php_curl.dll
- Navigate to
WAMP\bin\Apache\(your version of apache)\bin\
- edit
php.ini
- Search for curl, uncomment
extension=php_curl.dll
- Save both
- Restart WAMP
PHP 5.5 cURL not working on Windows 7 64 bit PHP 5.5 VC11
In WAMPServer version prior to 2.5:
All you need to do is copy libeay32.dll and libssl32.dll from the PHP \wamp\bin\php\{phpversion}
folder to the \wamp\bin\apache\{apacheversion}\bin
folder.
If you are using WAMPServer 2.5 you dont even need to do that as SYMLINKS should automatically get created for you. If the symlinks are not there then just do this to create them:-
wampmanager -> Apache -> Version ( and click on the version number you are using )
It is very bad practice when using WAMPServer to put anything in the \windows\
folder structure as this will cause problems when/if you decide to switch between versions of Apache and/or PHP.
PHP and CURL under Windows 7 64 bits and Apache
AFAIR, you need libeay32.dll and libssl32.dll files on PATH for Curl to work properly. And probably 64 bit for your x64 system.
How to get CURL to work with PHP on Windows? (WAMP)
You don't have to reboot the computer, just restart the apache and the php module will read the new ini.
Did you change the correct php.ini? In case of doubt
<?php echo 'php.ini: ', get_cfg_var('cfg_file_path'); ?>
can tell you.
Is there something in the error.log of the apache that indicates that something went wrong while loading php and the php_curl.dll?
Did you start the apache as a win32 service? If you did try to start it as a console application. Error messages will show up on the console then. Or start it as a service and take a look at the error.log file and the windows event log (start, run, eventvwr.msc /s
).
edit:
"The specified procedure could not be found"
You need a dll that is compatible with your php version and build. Exactly what did you install and where did you get it from?
Can't enable CURL - WAMP on Windows 7 64 bit - PHP 5.3.13 Apache 2.2.22
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 .
Related Topics
How to Enable Curl in Wamp Server
Laravel 5 Failed Opening Required Bootstrap/../Vendor/Autoload.PHP
PHP, Getting Variable from Another PHP-File
Detect Exact Os Version from Browser
PHPunit Assert That an Exception Was Thrown
How to Get Response Using Curl in PHP
Get the Files Inside a Directory
Generating Cryptographically Secure Tokens
How to Access MySQL Result Set Data With a Foreach Loop
How to Insert an Item At the Beginning of an Array in PHP
Adding Months to a Date in JavaScript
How to Get Current Route in Symfony 2
Assigning the Return Value of New by Reference Is Deprecated