Buenos dias, estamos instalando el sistema desde cero en un servidor Debian 12. Instalamos php 8.1 como dicen los requerimientos. Al intentar instalar el nucleo con el comando composer install --prefer-dist --no-dev --optimize-autoloader nos salen varios errores y al intentar corregirlo mediante composer update mas errores. Que version de php debo tener instalada?
Gracias y saludos
Al correr composer install --prefer-dist --no-dev --optimize-autoloader
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- Root composer.json requires php ^7.4.0 but your php version (8.1.31) does not satisfy that requirement.
Problem 2
-
cakephp/cache is locked to version 3.10.4 and an update of this package was not requested.
-
cakephp/cache 3.10.4 requires php >=5.6.0,<8.0.0 → your php version (8.1.31) does not satisfy that requirement.
Problem 3
-
cakephp/collection is locked to version 3.10.4 and an update of this package was not requested.
-
cakephp/collection 3.10.4 requires php >=5.6.0,<8.0.0 → your php version (8.1.31) does not satisfy that requirement.
Problem 4
-
cakephp/core is locked to version 3.10.4 and an update of this package was not requested.
-
cakephp/core 3.10.4 requires php >=5.6.0,<8.0.0 → your php version (8.1.31) does not satisfy that requirement.
Problem 5
-
cakephp/database is locked to version 3.10.4 and an update of this package was not requested.
-
cakephp/database 3.10.4 requires php >=5.6.0,<8.0.0 → your php version (8.1.31) does not satisfy that requirement.
Problem 6
-
cakephp/datasource is locked to version 3.10.4 and an update of this package was not requested.
-
cakephp/datasource 3.10.4 requires php >=5.6.0,<8.0.0 → your php version (8.1.31) does not satisfy that requirement.
Problem 7
-
cakephp/log is locked to version 3.10.4 and an update of this package was not requested.
-
cakephp/log 3.10.4 requires php >=5.6.0,<8.0.0 → your php version (8.1.31) does not satisfy that requirement.
Problem 8
-
cakephp/utility is locked to version 3.10.4 and an update of this package was not requested.
-
cakephp/utility 3.10.4 requires php >=5.6.0,<8.0.0 → your php version (8.1.31) does not satisfy that requirement.
Problem 9
-
enqueue/dbal is locked to version 0.9.15 and an update of this package was not requested.
-
enqueue/dbal 0.9.15 requires php ^7.1.3 → your php version (8.1.31) does not satisfy that requirement.
Problem 10
-
laminas/laminas-uri is locked to version 2.7.1 and an update of this package was not requested.
-
laminas/laminas-uri 2.7.1 requires php ^5.6 || ^7.0 → your php version (8.1.31) does not satisfy that requirement.
Problem 11
-
robmorgan/phinx is locked to version 0.11.7 and an update of this package was not requested.
-
cakephp/collection 3.10.4 requires php >=5.6.0,<8.0.0 → your php version (8.1.31) does not satisfy that requirement.
-
robmorgan/phinx 0.11.7 requires cakephp/collection ^3.7 → satisfiable by cakephp/collection[3.10.4].
Al correr composer update
Problem 1
- Root composer.json requires php ^7.4.0 but your php version (8.1.31) does not satisfy that requirement.
Problem 2
-
Root composer.json requires phpunit/phpunit ^7.5 → satisfiable by phpunit/phpunit[7.5.0, …, 7.5.20].
-
phpunit/phpunit[7.5.0, …, 7.5.20] require php ^7.1 → your php version (8.1.31) does not satisfy that requirement.