2013-08-01 48 views
1

我試圖在MAMP上啓用ssl擴展來獲得sylius(symfony2包)工作。但在啓用擴展時,作曲家開始胡作非爲說,沒有安裝SSL擴展...作曲家和mamp 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

作曲家是錯的嗎?或者,你的SSL擴展實際上不工作?查看'phpinfo()'獲取更多信息。 – ferdynator

+0

我會說這是ssl擴展,不工作。在我混淆擴展之前,作曲家工作正常。但因爲我試圖安裝擴展(下面的教程http://soundsplausible.com/2012/01/14/enable-ssl-in-mamp-2-0-5/)作曲家不再工作。 –

+0

'phpinfo()'說什麼?是擴展加載?你可以用這個命令測試它:'$ php -info | grep openssl' – ferdynator

回答

0

我只是複製從指定網址的文件到PHP的bin文件夾的當前目錄:

copy('https://getcomposer.org/installer','c:\mamp\bin\php\php5.6.8\composer.phar');

和它的工作。