The following worked for me:

cd /etc/php5/cli/conf.d
sudo perl -pi.bk -e 's/(\s*)#/\1;/' *ini
sudo mkdir bk
sudo mv *.bk bk

Which only catches comments at the start of a line; also, backups of the
original files are in the /etc/php5/cli/conf.d/bk directory.

-- 
PHP Deprecated:  Comments starting with '#' are deprecated in 
/etc/php5/cli/conf.d/ldap.ini on line 1 in Unknown on line 0
https://bugs.launchpad.net/bugs/573436
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to