报错目录
- 报错:[Symfony\Component\Process\Exception\RuntimeException] The Process class relies on proc_open, which is not available on your PHP installation.
- 报错:Your requirements could not be resolved to an installable set of packages.
- PHP Fatal error: Allowed memory size of xxxx bytes exhausted
- --with-all-dependencies (-W)
- 依旧安装不上的话可以指定版本安装
报错:[Symfony\Component\Process\Exception\RuntimeException] The Process class relies on proc_open, which is not available on your PHP installation.
原因与解决方案:这是由于proc_open函数被禁用导致的,进入宝塔面板,将禁用函数中的proc_open函数删掉即可。
如果不是使用宝塔面板的,找到启用的php版本中的php.ini文件,找到disable_functions删除proc_open。遇到其他类似报错删除对应函数即可