Bonjour,
Au fait j'ai un petit problème et j'ai deja cherché dans certains Forums une solution sur comment installer CakePHP 3 pour débuter un nouveau projet.
Voici ce que j'obtiens comme résultat après avoir taper :
composer create-project --prefer-dist cakephp/app mon-projet
Installing cakephp/app (3.2.3)
- Installing cakephp/app (3.2.3)
Loading from cache
Created project in MaterialBlog
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.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.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.2, 3.2.3, 3.2.4, 3.2.5, 3.2.6].
To enable extensions, verify that they are enabled in those .ini files:
- /Applications/XAMPP/xamppfiles/etc/php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Merci de m'apporter quelques précisions sur ce sujet. Je suis sur Mac OS et j'ai El Capitain comme OS. Je sais pas si c'est important de le mentionné mais sa peut toujours aider.
Je l'ai deja fait sa et j'ai refais cette procédure une dixaine de fois sans succès avant de créer ce sujet. Voila le resultat quand j'active les extensions demandées pour installer Cake
ITs-MacBook-Pro:htdocs arthur$ composer create-project --prefer-dist cakephp/app MaterialBlog
PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20121212/php_intl.dll' - dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20121212/php_intl.dll, 9): image not found in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20121212/php_intl.dll' - dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20121212/php_intl.dll, 9): image not found in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20121212/php_mbstring.dll' - dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20121212/php_mbstring.dll, 9): image not found in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20121212/php_mbstring.dll' - dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20121212/php_mbstring.dll, 9): image not found in Unknown on line 0
Installing cakephp/app (3.2.3)
- Installing cakephp/app (3.2.3)
Loading from cache
Created project in MaterialBlog
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.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.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.2, 3.2.3, 3.2.4, 3.2.5, 3.2.6].
To enable extensions, verify that they are enabled in those .ini files:
- /Applications/XAMPP/xamppfiles/etc/php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Sa augmente les erreurs et sa installe rien du moins sa créer un projet vide sans vendor