Error: Debian Squeeze/Apache2/PHP5 - PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/ming.ini on line 1 in Unknown on line 0
You see the following lines in Apache's error log (/var/log/apache2/error.log):
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/ming.ini on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/ps.ini on line 1 in Unknown on line 0
Solution
Open /etc/php5/apache2/conf.d/ming.ini:
vi /etc/php5/apache2/conf.d/ming.ini
The file looks like this:
# configuration for php MING module
extension=ming.so
Remove the first line so that it looks like this:
extension=ming.so
Do the same for the file /etc/php5/apache2/conf.d/ps.ini:
vi /etc/php5/apache2/conf.d/ps.ini
The file looks like this:
# configuration for php PS module
extension=ps.so
Remove the first line so that it looks like this:
extension=ps.so
Then restart Apache:
/etc/init.d/apache2 restart