工学1号馆

home

composer安装过程出现错误的解决办法

Wu Yudong    December 24, 2019     PHP   1,292   

1、‘php’不是内部或外部命令,也不是可运行的程序或批处理文件

解决办法:设置环境变量,指向php的安装目录或者phpstudy里面的某一个php版本

2、composer提示The openssl extension is required for SSL/TLS protection…

在php.ini文件中打开php_openssl扩展 extension=php_openssl.dll

3、You can also run `php –ini` inside terminal to see which files are used by PH P in CLI mode

在php.ini中打开extension=php_fileinfo.dll 就可以了

如果文章对您有帮助,欢迎点击下方按钮打赏作者

Comments

No comments yet.
To verify that you are human, please fill in "七"(required)