我想开始学习Zend,但无法让composer安装zftool。尝试使用 composer 安装 zftool,如ZF所述
./composer.phar require zendframework/zftool:dev-master
我收到以下错误消息:
composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing zendframework/zend-math (2.2.1)
Downloading: 100%
Downloading: 100%
Downloading: 100%
[Composer\Downloader\TransportException]
The "http://nodeload.github.com/zendframework/Component_ZendMath/zip/release-2.2.1" file could not be downloaded: failed to open stream: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [packages1] ... [packagesN]
我必须管理,我通常不会弄乱我的 php.ini,但据我所知,我必须在其中启用 ssl 扩展。打开MAMP的5.4.10 php.ini,没有什么可取消注释,启用扩展。只需添加行
extension=php_openssl.so
不会有帮助的。有谁知道该怎么做?