ubuntu16.04安装或更新composer版本

  1.首先查看composer 官方网站 查看对应想安装的版本:https://getcomposer.org/download/ wget https://getcomposer.org/download/1.7.3/composer.phar mv composer.phar composer chmod +x composer ./composer –version 2.若Ubuntu …

Read more...

proc_open(): fork failed – Cannot allocate memory【解决方法】

proc_open():fork失败错误# 如果composer在执行某些命令中显示proc_open()fork失败: PHP Fatal error: Uncaught exception ‘ErrorException’ with message ‘proc_open(): fork failed – Cannot allocate memory’ in phar 这可能会发生,因为…

Read more...