警告信息: PHP Deprecated: Comments starting with ‘#’ are deprecated in /etc/php.ini on line 405 in Unknown on line 0
Centos 命令行 运行 下面命令 出现警告
[root@xxxxxxxxx Api]# php -f test_jieba.php
PHP Deprecated: Comments starting with ‘#’ are deprecated in /etc/php.ini on line 405 in Unknown on line 0
原因:
配置文件中出现了旧的注释方式 :#
解决方法:
将php.ini 中 #
注释的行 改用 ;
进行注释