安装laravel错误问题解决汇总

2021-07-18 13:55:37
黄豆 UsualTool.com
编程思维/PHP 9251
loading

composer安装laravel:

composer create-project laravel/laravel 安装目录名


问题1:使用composer安装laravel出现"Could not find package laravel/laravel with stability stable.”

解决:修改composer镜像地址:

composer config -g repo.packagist composer https://packagist.org


问题2:安装时提示"The Process class relies on proc_open, which is not available on your PHP installation. ”

解决:打开PHP配置文件,禁用函数删除proc_open

+分享给朋友+
郑重提醒:部分素材来源于互联网,如果侵犯了您的权利,请及时联络我们更正,谢谢合作,电邮:usualtool@qq.com