今天用composer安装一个扩展包,因为用到php7.2版本,提示报错:the process class relies on proc_open,which is not available on your php installation,产生这个错误的原因是proc_open函数处于安全考虑被禁用了,采用宝塔面板,开启这个函数就可以了。
在对应的php版本的设置中,找到禁用函数列表,删掉proc_open函数即可。
上一篇: composer提示错误:putenv() has been disabled for security reasons的解决方法
下一篇: 一键加QQ群链接代码