相关疑难解决方法(0)

在XAMPP上安装Php-intl

我需要在我的mac上使用扩展intl和XAMPP.

所以我按照这个链接:

在XAMPP for Mac Lion 10.8上安装Php-intl

http://lvarayut.blogspot.it/2013/09/installing-intl-extension-in-xampp.html

我重新启动我的apache服务器,但没有安装扩展.因为如果我发布:

php -m | grep intl #should return 'intl'
Run Code Online (Sandbox Code Playgroud)

回来空了

没有它我无法启动的命令是对于composer和cakephp这样:

composer create-project --prefer-dist -s dev cakephp/app cakephp3
Run Code Online (Sandbox Code Playgroud)

给我这个错误:

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 * …
Run Code Online (Sandbox Code Playgroud)

php apache macos cakephp

15
推荐指数
3
解决办法
4万
查看次数

在Mac上的XAMPP上安装PHP国际化扩展(Intl)

如何在OS X上的XAMPP服务器上安装Intl?

我尝试修改我的XAMPP> etc> php.ini并取消注释该行:

;extension=php_intl.dll
Run Code Online (Sandbox Code Playgroud)

并重新启动Apache,但它不起作用.

php xampp macos

11
推荐指数
2
解决办法
3万
查看次数

标签 统计

macos ×2

php ×2

apache ×1

cakephp ×1

xampp ×1