- Server operating system version
- Ubuntu
- Plesk version and microupdate number
- Obsidian 18.0.70
Hope someone can help. I can't use curl in PHP, Plesk Obsidian 18.0.70.
Curl worked fine in php7.x. Following plesk upgrade, curl is not available in php8.4.8. Curl (lib) doesn't appear in Tools & Settings > PHP Settings > 8.48 FPM "Settings for 8.4.8 FPM application" Extensions list, and so it cannot be enabled.
There's no curl.so in the /opt/plesk/php/8.4/lib dir. Apt installing php7 curl and the copying the curl.so into the php8 lib dir does not enable curl in PHP 8.4.8. Checking PHPinfo for PHP8.4.8 shows "'--without-curl'" in the "Configure Command" section (side note: if I install & use PHP 7.4, curl works fine).
Uncommenting the curl extension line in php.ini only causes the following error when loading PHP, even though curl.so exists in the listed path.
Curl does work in shell. And, if I look at php modules with php -m, curl is listed as loaded!
Does anyone know how to enable curl in php8.4? Thank you
Curl worked fine in php7.x. Following plesk upgrade, curl is not available in php8.4.8. Curl (lib) doesn't appear in Tools & Settings > PHP Settings > 8.48 FPM "Settings for 8.4.8 FPM application" Extensions list, and so it cannot be enabled.
There's no curl.so in the /opt/plesk/php/8.4/lib dir. Apt installing php7 curl and the copying the curl.so into the php8 lib dir does not enable curl in PHP 8.4.8. Checking PHPinfo for PHP8.4.8 shows "'--without-curl'" in the "Configure Command" section (side note: if I install & use PHP 7.4, curl works fine).
Uncommenting the curl extension line in php.ini only causes the following error when loading PHP, even though curl.so exists in the listed path.
"PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /opt/plesk/php/8.4/lib/php/modules/curl (/opt/plesk/php/8.4/lib/php/modules/curl: cannot open shared object file: No such file or directory), /opt/plesk/php/8.4/lib/php/modules/curl.so
Curl does work in shell. And, if I look at php modules with php -m, curl is listed as loaded!
Does anyone know how to enable curl in php8.4? Thank you