[Bug 573436] Re: PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/ldap.ini on line 1 in Unknown on line 0

Ogilvierothchild 573436 at bugs.launchpad.net
Mon Jul 19 04:39:45 BST 2010


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.



More information about the Ubuntu-server-bugs mailing list