简体   繁体   English

无法在XAMPP Mac上安装CakePHP

[英]Trouble Installing CakePHP on XAMPP Mac

So I've been trying to install Cake on a Mac laptop running Xampp. 因此,我一直试图在运行Xampp的Mac笔记本电脑上安装Cake。 So far I have been unsuccessful. 到目前为止,我一直没有成功。 When I try to create a project, it just returns this-> 当我尝试创建一个项目时,它只返回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. 我已经安装了icu4c,它说intl已安装在phpinfo.php上,但此错误消息不断出现。 I have been working on this for about 4 hours. 我已经为此工作了大约4个小时。

i installed cakePHP3 on osx by following the instructions: 我按照说明在osx上安装cakePHP3:

open php.ini file in xmapp, the file should be located in "xampp->etc" folder. 在xmapp中打开php.ini文件,该文件应位于“ xampp-> etc”文件夹中。 Edit this file, first find ";extension=php_intl.dll" line and change it to "extension=php_intl.dll" remove ';'. 编辑此文件,首先找到“; extension = php_intl.dll”行并将其更改为“ extension = php_intl.dll”,然后删除“;”。 Hope this will help. 希望这会有所帮助。 let me know what error you are getting if installtion is failing. 让我知道如果安装失败会出现什么错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM