Sunday, December 10, 2017

php - cURL not Working after 18.04 Upgrade

I recently updated the system to 18.04 and it has hosed cURL. 18.04 installed PHP 7.2 but my nginx installation is using 7.1 FPM. When I run a phpinfo() from the web server, it shows the system reading a curl.ini, but the cURL module is not shown below, and code that requires cURL doesn't work.



I've read this **curl** is not working on Ubuntu 18.04 LTS and the answer (uninstall/reinstall libcurl4) didn't help.




I've done "phpenmod -v 7.1 curl", the module shows in the "enabled_by_admin" directory. There wasn't a curl.so but I copied it out of the 7.2 directory. Restarted, rebooted, everything. Still no cURL.



When I do "php -m" it shows curl, but that's for v7.2 of course, not the 7.1 FPM that my web server is running. I've been chasing my tail trying to get this running again, any help would be appreciated.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...