errores al instalar cakephp 3

Preguntas RecientesCategoria: PHPerrores al instalar cakephp 3
sam preguntada 1 año antes

pues hice todo lo que decia en la pagina oficial http://book.cakephp.org/3.0/es/installation.html  … pero cuando corro el comando bin/cake server me dice:
PHP Fatal error:  You must enable the intl extension to use CakePHP. in /var/www/emprefacil2016/emprefacil/config/bootstrap.php on line 23
y no se porque no entiendo a que se debe ese error, durante la instalacion me decia que faltaban cosas, sera por eso?

Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
– cakephp/cakephp 3.2.9 requires ext-intl * -> the requested PHP extension intl is missing from your system.
– cakephp/cakephp 3.2.8 requires ext-intl * -> the requested PHP extension intl is missing from your system.
– cakephp/cakephp 3.2.7 requires ext-intl * -> the requested PHP extension intl is missing from your system.
– cakephp/cakephp 3.2.6 requires ext-intl * -> the requested PHP extension intl is missing from your system.
– cakephp/cakephp 3.2.5 requires ext-intl * -> the requested PHP extension intl is missing from your system.
– cakephp/cakephp 3.2.4 requires ext-intl * -> the requested PHP extension intl is missing from your system.
– cakephp/cakephp 3.2.3 requires ext-intl * -> the requested PHP extension intl is missing from your system.
– cakephp/cakephp 3.2.2 requires ext-intl * -> the requested PHP extension intl is missing from your system.
– cakephp/cakephp 3.2.10 requires ext-intl * -> the requested PHP extension intl is missing from your system.
– cakephp/cakephp 3.2.1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
– cakephp/cakephp 3.2.0 requires ext-intl * -> the requested PHP extension intl is missing from your system.
– Installation request for cakephp/cakephp ~3.2 -> satisfiable by cakephp/cakephp[3.2.0, 3.2.1, 3.2.10, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.2.6, 3.2.7, 3.2.8, 3.2.9].

To enable extensions, verify that they are enabled in those .ini files:
– /etc/php5/cli/php.ini
– /etc/php5/cli/conf.d/05-opcache.ini
– /etc/php5/cli/conf.d/10-pdo.ini
– /etc/php5/cli/conf.d/20-curl.ini
– /etc/php5/cli/conf.d/20-gd.ini
– /etc/php5/cli/conf.d/20-json.ini
– /etc/php5/cli/conf.d/20-mysql.ini
– /etc/php5/cli/conf.d/20-mysqli.ini
– /etc/php5/cli/conf.d/20-pdo_mysql.ini
You can also run `php –ini` inside terminal to see which files are used by PHP in CLI mode.

1 Respuestas
drozz contestada 1 año antes

segun cake 3 se instala mediante el composer… y el composer necesita dependencias de php, a mi lo que me funciono fue instalar apt-get install php5-gd, apt-get install php5-intl y apt-get install php5-xsl

sam contestada 1 año antes

si era eso… instale esas 3 dependencias, corri otra vez la instalacion con el composer y ya no me salio ningun error… ya puedo correr bin/cake server sin problemas, gracias

Your Answer

3 + 12 =