Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP cURL is not loaded on modifying php.ini

Tags:

php

curl

To enable cURL in PHP I uncomment this line

extension=php_curl.dll

But cURL did not load on restarting Apache. Even on restarting the machine. I have PHP 5.2.1 installed with AppServer on windows XP.

Please help me enabling cURL. Any kind of help is appreciated.

like image 700
Shahid Karimi Avatar asked Oct 12 '11 10:10

Shahid Karimi


1 Answers

I upgraded to PHP 5.6.4 and curl stopped working. php.ini and ext were fine.

I solved this problem by adding C:\php (my php folder) to system variable Path in the Control Panel->System-Advanced->Environment Variables.

like image 153
Oleksiy Muzalyev Avatar answered Sep 22 '22 21:09

Oleksiy Muzalyev