phplaravelcurloctobercms

Error Installing Plugins or Checking for Updates


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:

  1. Both open_basedir and safe_mode are disabled in
  1. Despite that, plugins can’t be installed.

Does anyone know how to resolve this issue? Your help would mean a lot! Thank you in advance!


Solution

  • I found a solution, Here are the steps to take: On SSH server

    Blockquote

    1. $ apt update
    2. $ sudo apt install php(Your_php_version)-curl
    3. $ service apache2 restart

    Thank you!