php warnings: comments starting with ‘#’ are deprecated

If you get such messages when you are restarting httpd or when you looking form php information, fast fix:

php –ini

this will show you all you php ini filesm then:

find /php/ini/patch -iname test.ini -exec sed -i -re ‘s/^(\s*)#(.*)/\1;\2/g’ {} \;

Leave a Reply

Your email address will not be published. Required fields are marked *