php wp-cli.phar –info 一般报错问题及解决方法

  

报错信息如下:

1
2
3
4
5
PHP Notice:  Undefined offset: 1 in phar:
PHP Warning:  proc_open() has been disabled for security reasons in phar:
#上面这个问题处理方法:vi /usr/local/php/etc/php.ini 把proc_open从禁用函数里删除
PHP Warning:  fclose() expects parameter 1 to be resource, null given in phar:
PHP Warning: stream_get_contents() expects parameter 1 to be resource, null given in phar:

您必须才能评论!