Errorexception [8192]: Comments starting with ' # ' is deprecated in Unknown on line 1
8192 e_deprecated (integer) runtime notification. When enabled, warns you about code that might not work correctly in a future release. Since PHP 5.3.0
Error code from: http://www.jb51.net/article/47793.htm
Should be a new version of PHP appeared a MySQL recommended with the Mysqlli and PDO hint problem, the error is turned off, and then open the good, this piece of PHP may still have some problems:
Error_reporting (e_all ^ e_notice ^ e_deprecated);//Solution Deprecated:mysql_connect (): The MySQL extension is DEPRECATED and WI ll be removed in the future:
Ini_set (' Display_startup_errors ', 0);
Ini_set (' Display_errors ', 0);
I setup an Ubuntu system with Nginx and PHP, but I noticed a strange error.
Every time I run something PHP related in the console I get this strange error:
PHP deprecated:comments starting with ' # ' is Deprecated In/etc/php5/cli/conf.d/ming.ini on line 1 inch Unknown on line 0
I googled for some minutes and found so is the happening and how to fix it. The solution is open the file:
Vi/etc/php5/cli/conf.d/ming.ini
and replace the "#" in the first line with "," and that would fix the "warning".
Using the newly-loaded PHP, but every time I execute a PHP script at the command line, the following warning message appears:
PHP deprecated:comments starting with ' # ' is Deprecated In/etc/php5/cli/conf.d/mcrypt.ini on line 1 inch Unknown on line 0
Check the Internet, the original is a new version of PHP is not in favor of using the ' # ' as a comment symbol, need to use a semicolon '; '. Open this file, replace the # in it with the number, solve the problem!
From: http://blog.163.com/mity_rui@126/blog/static/109813618201522525339369/
http://www.r00t.gr/ how-to-fix-php-deprecated-comments-starting-with-are-deprecated-in-etcphp5cliconf-dming-ini-on-line-1-in-unknown-on-line- 0/