php-doc-问题收集

Content-Length mismatch, received 188943 bytes out of the expected 1050256

1
2
# 可能原因是 composer 的安装包网址是国外镜像所致,被长城防火墙屏蔽了。可执行以下命令来解决:
composer config -g repo.packagist composer https://packagist.phpcomposer.com

The Process class relies on proc_open, which is not available on your PHP installation.

proc_get_status() has been disabled for security reasons 类似处理

1
2
3
4
# 打开php.ini,并搜索disable_functions指令,找到类似如下内容:
disable_functions = passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_get_status,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server

找到proc_open并删除即可。