簡體   English   中英

未在Windows 7上安裝Composer

[英]Composer not installing on Windows 7

我正在將Windows 7 32位與WAMP 2.4 & PHP 5.4.16

我在WAMP擴展中啟用了openssl,也在這里的php.ini啟用了C:\\wamp\\bin\\php\\php5.4.16

當我嘗試安裝Composer時,出現以下錯誤

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 openssl extension is missing, which means that secure HTTPS transfers are impossible.
If possible you should enable it or recompile php with --with-openssl

我試圖禁用Windows防火牆,但它仍然無法正常工作

問題出在沒有啟用SSL的PHP​​軟件包中。 為此,請編輯php.ini並確保已添加:

extension=php_openssl.dll.

轉到C:\\ wamp \\ bin \\ php \\ php5.4.12並打開擴展名為刪除“;”的php.ini文件UnComment。 表格行首

extension=php_openssl.dll
extension=php_curl.dll

並確保Windows防火牆已關閉

如果您嘗試通過WAMP接口啟用open_ssl擴展名,則可能不起作用。 轉到命令提示符,然后輸入path來查找PHP的路徑。 進入該文件夾並打開php.ini並刪除; 從顯示extension=php_openssl.dll.的行extension=php_openssl.dll.

讓我知道事情的后續...

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM