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.
I do not see an entry for cURL or for XDebug.
Here's what I did:
- Again, 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. 😥