Saturday, April 9, 2011

PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0

What should we do when get that message?
# Open /etc/php5/cli/conf.d/mcrypt.ini with your favourite editor like vi or gedit. You will see the content of mcrypt.ini
# configuration for php MCrypt module
extension=mcrypt.so
# Replace sign '#' in the first line with ';'.
I get this message: "PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0" when trying to run PHP file via Terminal. Thanks for coming :).

No comments: