【发布时间】:2015-03-10 14:59:20
【问题描述】:
我正在使用 AMPPS 2.9 并从 AMPPS 菜单安装 Zend Framework 2.3.5。我想基于该框架创建一个新项目。我在Zend Installation Instructions 尝试了第一种方法的第一个命令,将其指向AMPPS php,但我遇到了这个错误。我找不到特定于 AMPPS 的创建项目说明。我认为问题是我的终端会话基于我的主机 Mac,而不是 AMPPS 环境。有人在 AMPPS 下创建过 Zend 项目吗?
curl -s https://getcomposer.org/installer | /Applications/AMPPS/php/bin/php --
#!/usr/bin/env php
Some settings on your machine make Composer unable to work properly.
Make sure that you fix the issues listed below and run this script again:
The ctype extension is missing.
Install it or recompile php without --disable-ctype
【问题讨论】:
-
你已经安装了xcode吗?
-
对于 mac os x,自制软件是最好且轻松的开发方式。你可能想看看这个:stackoverflow.com/questions/25095942/…
-
@foozy——我看了这个,看起来很有趣。但我更希望有一个开发人员环境,与我对 Mac 的“个人生产”使用隔离。
标签: php zend-framework2 ampps