I’m facing a challenge with October CMS. Whenever I try to install a plugin or check for updates from the backend settings, I encounter this error:
Use of undefined constant CURLOPT_FOLLOWLOCATION - assumed 'CURLOPT_FOLLOWLOCATION'
on line 483 of /var/www/html/vendor/october/rain/src/Network/Http.php
Here’s what I’ve already checked:
open_basedir
and safe_mode
are disabled in/etc/php/7.0/fpm/php.ini
and/etc/php/7.0/cli/php.ini
.Does anyone know how to resolve this issue? Your help would mean a lot! Thank you in advance!
I found a solution, Here are the steps to take: On SSH server
Blockquote
$ apt update
$ sudo apt install php(Your_php_version)-curl
$ service apache2 restart
Thank you!