Saudações, estou no mesmo canto que todos... porém, joguei este erro no ChatGPT para sabe sobre este erro, o mesmo informou para alterar no arquivo "composer.json", alterar a versão do php que esta escrita para a versão do PHP que esta instalado na sua máquina. Aparentemente deu certo, mas gerou outra situação que como se fosse um módulo a mais para instalar, vou mandar o log de como eu fiz e o resultado....
*******@sga:~$ ls
composer-setup.php Desktop Documentos Imagens Modelos Música novosga Público snap Transferências Vídeos
****@sga:~$ cd novosga/
****@sga:~/novosga$ ls
bin composer.lock LICENSE phpcs.xml public src templates translations
composer.json config migrations phpunit.xml.dist README.md symfony.lock tests
****@sga:~/novosga$ nano composer.json
*@sga:~/novosga$ sudo composer update
[sudo] senha para ****:
PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/lib/php/20220829/curl (/usr/lib/php/20220829/curl: cannot open shared object file: No such file or directory), /usr/lib/php/20220829/curl.so (/usr/lib/php/20220829/curl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? y
Composer is operating significantly slower than normal because you do not have the PHP curl extension enabled.
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Unable to find a compatible set of packages based on your non-dev requirements alone.
Your requirements can be resolved successfully when require-dev packages are present.
You may need to move packages from require-dev or some of their dependencies to require.
Problem 1
- Root composer.json requires symfony/stopwatch 5.2.*, found symfony/stopwatch[v5.4.21] but it does not match the constraint.
Problem 2
- Root composer.json requires s