0
所以我一直试图在运行Xampp的Mac笔记本电脑上安装Cake。到目前为止,我一直没有成功。当我尝试创建一个项目,它只是返回这个 - >麻烦在XAMPP Mac上安装CakePHP
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].
我已经安装了ICU4C并说国际上安装phpinfo.php的,但此错误消息不断显示出来。我一直在为此工作大约4个小时。
帮你一个忙,忘记xampp并使用Ubuntu盒子或类似的Vagrant。更适应性更强,因为你可以运行多个不同配置的盒子,所以你可以更轻松地选择PHP版本,数据库,框架等。 – brianlmerritt
检查[this link](http://stackoverflow.com/questions/18391284/php-intl -installation-on-xampp-for-mac-lion-10-8) – Yash
我的主内置计算机正在运行Ubuntu,但没有Cake。但是这个mac有一个固件密码,所以我什么都不能做。 –