H.
Estoy empezando a leer Symfony-la-via-rapida.
Uno de los primeros pasos es comprobar los requerimientos:
symfony book:check-requirements
Y me da los siguientes errores:
$ symfony book:check-requirements | grep KO
[KO] PHP extension "pdo_pgsql" not found, please install it - required
[KO] PHP extension "amqp" not found, optional - needed only for chapter 32
[KO] PHP extension "intl" not found, please install it - required
[KO] PHP extension "redis" not found, optional - needed only for chapter 31
[KO] Cannot find the Yarn package manager, please install it https://yarnpkg.com/
Primero me he centrado en solucionar el intl (por que es el primero que me salia). Probé primero a instalar la que creia que era,... y luego me volví loco instalando ...
sudo apt-get install php8-intl
sudo apt-get install php8.0-intl
sudo apt-get install php8.1.2-intl
sudo apt-get install php8.1.1-intl
sudo apt-get install php5-intl
sudo apt-get install php8.1.3-intl
sudo apt-get install php7.0-intl
Ejecute el service apache2 restart
de vez en cuanto, pero nada, los KO persisten.
Estoy usando:
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 20.3
Release: 20.3
Codename: una
Acabo de ejecutar php-v y me da lo siguiente:
e-rick@erick-H61M-D2-B3:~$ php -v
PHP Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: /usr/lib/php/20210902/intl (/usr/lib/php/20210902/intl: cannot open shared object file: No such file or directory), /usr/lib/php/20210902/intl.so (/usr/lib/php/20210902/intl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_pgsql' (tried: /usr/lib/php/20210902/pdo_pgsql (/usr/lib/php/20210902/pdo_pgsql: cannot open shared object file: No such file or directory), /usr/lib/php/20210902/pdo_pgsql.so (/usr/lib/php/20210902/pdo_pgsql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 8.1.3 (cli) (built: Feb 21 2022 14:48:42) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.3, Copyright (c) Zend Technologies
with Zend OPcache v8.1.3, Copyright (c), by Zend Technologies
php8-pgsql
, ¿no?