Problems installing cakephp on linux Ubuntu 16.04

Asked

Viewed 350 times

2

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

    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

erro de instalação cake

  • 1

    Copy the terminal error message and paste the question instead of posting photos, so users who search for the written error can find your question and answer and benefit from the information.

1 answer

2

To solve I only used the following command on the linux terminal sudo apt-get install php-intl it will install the "Intl" php extensions. Then delete the cake project you tried to install and install again.

Follow the link that helped me solve the problem: Troubleshooting the "Intl" extension in the cakephp installation

Browser other questions tagged

You are not signed in. Login or sign up in order to post.