Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Problema ao dá bin/cake server

Ao dá bin/cake server esse problema aparece, não sei direito o que pode ser não acho nada na internet

Warning: require(C:\xampp\htdocs\cakephp\mercado/vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\cakephp\mercado\bin\cake.php on line 31

Fatal error: require(): Failed opening required 'C:\xampp\htdocs\cakephp\mercado/vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\cakephp\mercado\bin\cake.php on line 31
PHP Warning:  require(C:\xampp\htdocs\cakephp\mercado/vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\cakephp\mercado\bin\cake.php on line 31
PHP Fatal error:  require(): Failed opening required 'C:\xampp\htdocs\cakephp\mercado/vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\cakephp\mercado\bin\cake.php on line 31

Já tentei usar o composer install para, porém quando tento isso aparece um erro

  Problem 1
    - cakephp/cakephp 3.3.9 requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - cakephp/cakephp 3.3.8 requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - cakephp/cakephp 3.3.7 requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - cakephp/cakephp 3.3.6 requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - cakephp/cakephp 3.3.5 requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - cakephp/cakephp 3.3.4 requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - cakephp/cakephp 3.3.3 requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - cakephp/cakephp 3.3.2 requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - cakephp/cakephp 3.3.0-beta3 requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - cakephp/cakephp 3.3.0-beta2 requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - cakephp/cakephp 3.3.0-beta requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - cakephp/cakephp 3.3.0-RC1 requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - cakephp/cakephp 3.3.0 requires ext-intl * -> the requested PHP extension intl is missing from your system.
    - Installation request for cakephp/cakephp 3.3.* -> satisfiable by cakephp/cakephp[3.3.0, 3.3.0-RC1, 3.3.0-beta, 3.3.0-beta2, 3.3.0-beta3, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.3.8, 3.3.9].

  To enable extensions, verify that they are enabled in those .ini files:
    - C:\xampp\php\php.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

Já removi o (;) gentilmente do ;extension=php_intl.dll dos arquivos php.ini-development e tambem do php.ini-producer

1 resposta
solução!

Consegui eu sou meio burro, e estava modificando os arquivos .ini errados

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software