duanlie3187 2016-03-11 03:56
浏览 45

无法在XAMPP Mac上安装CakePHP

So I've been trying to install Cake on a Mac laptop running Xampp. So far I have been unsuccessful. When I try to create a project, it just returns this->

Your requirements could not be resolved to an installable set of packages.

  Problem 1
- 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].

I have installed icu4c and it says intl is installed on phpinfo.php, but this error message keeps showing up. I have been working on this for about 4 hours.

  • 写回答

1条回答 默认 最新

  • dousa2794 2017-01-11 05:49
    关注

    i installed cakePHP3 on osx by following the instructions:

    open php.ini file in xmapp, the file should be located in "xampp->etc" folder. Edit this file, first find ";extension=php_intl.dll" line and change it to "extension=php_intl.dll" remove ';'. Hope this will help. let me know what error you are getting if installtion is failing.

    评论

报告相同问题?

悬赏问题

  • ¥15 想问一下树莓派接上显示屏后出现如图所示画面,是什么问题导致的
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
  • ¥500 火焰左右视图、视差(基于双目相机)
  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号