我需要在XAMPP的Mac上使用擴展intl。XAMPP上的Php-intl安裝
所以我跟着這個鏈接:
Php-intl installation on XAMPP for Mac Lion 10.8
http://lvarayut.blogspot.it/2013/09/installing-intl-extension-in-xampp.html
我重新啓動一直是我的Apache服務器,但沒有安裝該擴展。因爲如果我啓動:
php -m | grep intl #should return 'intl'
返回空
,我不能沒有發動它是作曲家和CakePHP像這樣的命令:
composer create-project --prefer-dist -s dev cakephp/app cakephp3
回到我這個錯誤:
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for cakephp/cakephp 3.0.*-dev -> satisfiable by cakephp/cakephp[3.0.x-dev].
- cakephp/cakephp 3.0.x-dev requires ext-intl * -> the requested PHP extension intl is missing from your system.
Problem 2
- cakephp/cakephp 3.0.x-dev requires ext-intl * -> the requested PHP extension intl is missing from your system.
- cakephp/bake dev-master requires cakephp/cakephp 3.0.x-dev -> satisfiable by cakephp/cakephp[3.0.x-dev].
- Installation request for cakephp/bake dev-master -> satisfiable by cakephp/bake[dev-master].
所以我需要解決擴展intl ext-intl的問題。
有人可以幫我解決這個問題嗎? 如何安裝此擴展?
感謝
要MAMP HTTP設置路徑://計算器。 com/questions/4145667 /如何覆蓋-php-to-use-the-mamp-path的路徑,它也是自動的 –