我试图在MAMP上启用ssl扩展以使sylius(symfony2 bundle)正常工作。但是当扩展程序启用时,作曲家开始行为不端说没有安装ssl扩展名...
我按照本教程安装ssl扩展名: http://soundsplausible.com/2012/01/14/enable-ssl-in-mamp-2-0-5/
在学习本教程之前,我的作曲家工作正常。现在,我收到了这个错误:
Some settings on your machine may cause stability issues with Composer.
=======================================
If you encounter issues, try to change the following:
=======================================
The openssl extension is missing, which will reduce the security and stability of Composer.
=======================================
If possible you should enable it or recompile php with --with-openssl
======================================
我试图取消我已经完成的ssl的安装,但是它没有用。
答案 0 :(得分:0)
我刚刚将文件从给定的url复制到php bin文件夹的当前目录:
copy('https://getcomposer.org/installer','c:\mamp\bin\php\php5.6.8\composer.phar');
并且有效。