Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 555
ericn Avatar asked Jan 29 '26 18:01

ericn


2 Answers

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 .

like image 166
Prerit Mohan Avatar answered Feb 01 '26 07:02

Prerit Mohan


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

like image 43
Shomz Avatar answered Feb 01 '26 08:02

Shomz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!