PHP :Why PHP-Curl is not working with nginx PHP :Why PHP-Curl is not working with nginx curl curl

PHP :Why PHP-Curl is not working with nginx


You need to run /etc/init.d/php5-fpm restart


If you are on Windows, make sure to follow the below steps:

  1. Rename php.ini-production or php.ini-development to php.ini
  2. Specify the extension directory: extension_dir = "ext"
  3. Enable the Curl extension (Uncomment in php.ini): extension=php_curl.dll