Hola, tengo problemas para instalar php 7.3 para la instalacion del ambiente de desarrollo:
# apt-get -y install apache2 libapache2-mod-php7.3 openssl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libapache2-mod-php7.3
E: Couldn't find any package by glob 'libapache2-mod-php7.3'
E: Couldn't find any package by regex 'libapache2-mod-php7.3'
Lo intente con php 7.4 y funciono, pero el composer solo acepta 7.3:
# composer install
PHP Warning: Module 'PDO' already loaded in Unknown on line 0
PHP Warning: Module 'PDO' already loaded in Unknown on line 0
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- Root composer.json requires php 7.3.* but your php version (7.4.30) does not satisfy that requirement.
Problem 2
- wikimedia/composer-merge-plugin is locked to version v1.3.1 and an update of this package was not requested.
- wikimedia/composer-merge-plugin v1.3.1 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.
Hay alguna solución para instalar php 7.3?
Gracias de antemano, saludos!