简体   繁体   English

在Composer-Setup中将erro安装到laravel框架

[英]install erro in Composer-Setup to laravel framework

when I install Composer-Setup i have this error message . 当我安装Composer-Setup时,出现此错误消息。 so what is the problem : Some settings on your machine make Composer unable to work properly. 那么问题是什么:计算机上的某些设置使Composer无法正常工作。 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. 确保已解决以下问题,然后再次运行此脚本:openssl扩展名丢失,这意味着无法进行安全的HTTPS传输。 If possible you should enable it or recompile php with --with-openssl 如果可能的话,您应该启用它或使用--with-openssl重新编译php

You have to enable the SSL extension in the PHP running at the command line. 您必须在命令行运行的PHP中启用SSL扩展。 Note that this is not the PHP running inside your Apache. 请注意,这不是在Apache内部运行的PHP。

Run php -i on the command line to see which extensions are enabled and which php.ini is being used for the command line. 在命令行上运行php -i ,以查看启用了哪些扩展名以及命令行中使用了哪个php.ini Edit this to enable the SSL extension, or install it in case it is a separate package on your OS. 编辑此选项以启用SSL扩展,或在操作系统上将其作为单独的软件包安装它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM