Problems installing cakePHP on linux ubuntu 16.04

2

I'm having trouble installing cakePHP on linux. When I run the command composer create-project --prefer-dist cakephp/app [app_name] the following error message appears:

    Installing cakephp/app (3.5.0)
  - Installing cakephp/app (3.5.0)
    Loading from cache

Created project in cakePHP
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
    - Installation request for cakephp/cakephp 3.5.* -> satisfiable by cakephp/cakephp[3.5.0].
    - cakephp/cakephp 3.5.0 requires ext-intl * -> the requested PHP extension intl is missing from your system.
  Problem 2
    - cakephp/bake 1.1.3 requires cakephp/cakephp >=3.1.0 -> satisfiable by cakephp/cakephp[3.5.0].
    - cakephp/bake 1.1.4 requires cakephp/cakephp >=3.1.0 -> satisfiable by cakephp/cakephp[3.5.0].
    - cakephp/bake 1.2.0 requires cakephp/cakephp >=3.2.0 -> satisfiable by cakephp/cakephp[3.5.0].
segue abaixo uma imagem do erro

    
asked by anonymous 24.08.2017 / 16:38

1 answer

2

To solve just use the following command in the terminal linux sudo apt-get install php-intl it will install the "intl" extensions of php. Then delete the cake project that you tried to install and install again.

Here is the link that helped me solve the problem: Troubleshooting" intl "extension in cakephp installation

    
24.08.2017 / 17:50