我需要在XAMPP的Mac上使用扩展名intl。
因此,我遵循了以下链接:
我总是重新启动我的apache服务器,但是没有安装扩展名。因为如果我启动:
php -m | grep intl #should return 'intl'
返回空
没有它,我无法启动的命令是针对composer和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的问题。
有人可以帮我解决这个问题吗?如何安装此扩展程序?
谢谢