問(wèn)題:
在部署到正式環(huán)境(Nginx+PHP7.1)時(shí),使用composer.json安裝擴(kuò)展時(shí),出現(xiàn)錯(cuò)誤。
The Process class relies on proc_open, which is not available on your PHP installation.
根據(jù)提示也能看出,這里是proc_open方法找不到。
解決辦法:
打開php配置文件,搜索disable_functions,將后面的proc_open去掉就行。
注意:同樣的,proc_get_status也需要去掉。另,請(qǐng)確保PHP的fileinfo擴(kuò)展開啟