Curl not working in nginx

Having recently switched over to nginx on my server I started receiving an error stating that the function curl_init could not be loaded. Here's the command you will need to solve the problem...

SSH onto your server and run the following command to get the PHP Curl package:

sudo apt-get install php5-curl

You may need to do a server restart afterwards with the following command:

sudo service php5-fpm restart

Or if you're running apache with a similar problem:

sudo service apache2 restart
Sign Up

NEXT: Migrate a database to a different server by command line

This article documents the steps to migrate a database from one server to another using the command line.

comments powered by Disqus

Popular Tags

Need a web developer?

If you'd like to work with code synthesis on your next project get in touch via the contact page.