Preciso de um help por favor....
Meu OS é Ubuntu 20.04 como PHP 8.0, e estou usando o vscode.
Quando digito no terminal composer require guzzlehttp/guzzle
É exibida essa mensagem. PHP Warning: PHP Startup: Unable to load dynamic library 'php_openssl.so' (tried: /usr/lib/php/20190902/php_openssl.so (/usr/lib/php/20190902/php_openssl.so: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/php_openssl.so.so (/usr/lib/php/20190902/php_openssl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2
Segundos depois é exibida novas mensagens.
Using version ^7.2 for guzzlehttp/guzzle
./composer.json has been updated
Loading composer repositories with package information
Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
1 package you are using is looking for funding.
Use the composer fund
command to find out more!
Preciso atualizar o composer para 2.0 só que não tem jeito de isso acontecer, mesmo acessando o site do composer com os comandos para instalar/atualizar, é gerado varios avisos.
Digito no terminal: php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
Retorna: Warning: copy(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in Command line code on line 1
Warning: copy(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in Command line code on line 1
Warning: copy(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in Command line code on line 1
Warning: copy(https://getcomposer.org/installer): Failed to open stream: No such file or directory in Command line code on line 1
Tambem menciona no openssl, entrei no php.ini e descomentei a linha ontem tem essa extenção e nada adianta.
O que mais pode ser? Ha varias mensagens estou completamente perdido...