Hello there. please, could someone help me out on how to fix this problem? I’m using a CentOS server (Plesk based) and if I run via SSH the following command I get the following error. Thanks for any advice.
:~# composer require auth0/auth0-php:"~7.0"
Do not run Composer as root/super user! See https://getcomposer.org/root for details
[Composer\Exception\NoSslException]
The openssl extension is required for SSL/TLS protection but is not available. If you can not enable the openssl extension, you can disable this error, at yo
ur own risk, by setting the 'disable-tls' option to true.
require [--dev] [--prefer-source] [--prefer-dist] [--fixed] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...
I already did everything I found on the internet but couldn’t get past this error. I have rebooted the server after adding to the PHP ini file the extension and checked if it was compiled with SSL which it “seems” to have. At least when I check on the Plesk panel I can’t find the option to add/remove, who knows. I’m still a bit raw when it comes to CentOS stuff.
Cheers, WilliamK