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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to