前提・実現したいこと
CakePHPのインストールがしたいのですが、
以下のようなエラーメッセージが発生しました。
発生している問題・エラーメッセージ
Problem 1 - cakephp/cakephp 3.6.9 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.6.8 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.6.7 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.6.6 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.6.5 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.6.4 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.6.3 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.6.2 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.6.1 requires ext-intl * -> the requested PHP extension intl is missing from your system. - cakephp/cakephp 3.6.0 requires ext-intl * -> the requested PHP extension intl is missing from your system. - Installation request for cakephp/cakephp 3.6.* -> satisfiable by cakephp/cakephp[3.6.0, 3.6.1, 3.6.2, 3.6.3, 3.6.4, 3.6.5, 3.6.6, 3.6.7, 3.6.8, 3.6.9]. To enable extensions, verify that they are enabled in your .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. PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20170718/intl.so (dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20170718/intl.so, 9): image not found), /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20170718/intl.so.so (dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20170718/intl.so.so, 9): image not found)) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20170718/intl.so (dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20170718/intl.so, 9): image not found), /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20170718/intl.so.so (dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20170718/intl.so.so, 9): image not found)) in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'php_intl.dll' (tried: /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20170718/php_intl.dll (dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20170718/php_intl.dll, 9): image not found), /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20170718/php_intl.dll.so (dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20170718/php_intl.dll.so, 9): image not found)) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'php_intl.dll' (tried: /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20170718/php_intl.dll (dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20170718/php_intl.dll, 9): image not found), /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20170718/php_intl.dll.so (dlopen(/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20170718/php_intl.dll.so, 9): image not found)) in Unknown on line 0
該当のソースコード
ソースコード
試したこと
参考書通りに以下のことを試しました。
・php.iniの「;extension=php_intl.dll」の「;」を削除
・php.iniへ「extension=intl.so」の追加記載
補足情報(FW/ツールのバージョンなど)
お手数おかけ致しますが、ご教授いただければ幸いです。
よろしくお願い致します。
回答2件
あなたの回答
tips
プレビュー