在终端执行php,或crontal执行php时会报PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0错误,原因是php不支持使用#注释,找到/etc/php5/cli/conf.d/ming.ini文件,将#改为;即可
在终端执行php,或crontal执行php时会报PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0错误,原因是php不支持使用#注释,找到/etc/php5/cli/conf.d/ming.ini文件,将#改为;即可