首页 > 代码库 > php5.5.15注释问题PHP Deprecated: Comments starting with '#' are deprecated in *.ini 警告解决办法

php5.5.15注释问题PHP Deprecated: Comments starting with '#' are deprecated in *.ini 警告解决办法

PHP Deprecated:  Comments starting with ‘#‘ are deprecated in D:\mvam\php5\php.i
ni on line 1944 in Unknown on line 0
PHP Deprecated:  Comments starting with ‘#‘ are deprecated in D:\mvam\php5\php.i
ni on line 1946 in Unknown on line 0
PHP Deprecated:  Comments starting with ‘#‘ are deprecated in D:\mvam\php5\php.i
ni on line 1948 in Unknown on line 0
PHP Deprecated:  Comments starting with ‘#‘ are deprecated in D:\mvam\php5\php.i
ni on line 1951 in Unknown on line 0
PHP Deprecated:  Comments starting with ‘#‘ are deprecated in D:\mvam\php5\php.i
ni on line 1953 in Unknown on line 0
PHP Deprecated:  Comments starting with ‘#‘ are deprecated in D:\mvam\php5\php.i

新版本的PHP不赞成用‘#‘号作为注释符号,需要用分号‘;‘。打开这个文件,把里面的#替换成;号,问题解决!