I just upgraded to Ubuntu 18.04.1 LTS and went to check on my local apache2 installation by adding phpinfo() to an index file.
After update/reboot, I went to my local WordPress Admin area and attenpted to update a plugin and got the following error:
Fatal error: Uncaught Error: Call to undefined function curl_init()
Here's what I did:
- I checked phpinfo() and no curl OR xdebug options are shown.
- I went to /etc/php/7.1/apache2/php.ini and uncommented the following line extension=php_curl.dll.
- I then restarted apache.
- Also, my phpinfo() shows Loaded Configuration File /etc/php/7.1/apache2/php.ini and THAT is the one I've been editing.
However, WordPress still reports the following: PHP Fatal error: Call to undefined function curl_init().
I'm thinking I MUST be editing the wrong ini file.
Any ideas? I'm dead in the water here. 😥