Re: Php5 question
On Tue, Aug 06, 2013 at 06:49:43PM -0500, John W. Foster wrote: > > > on the remote servers that I work with. Any way to get rid of this error > > > PHP Deprecated: Comments starting with '#' are deprecated in > > /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0 JFTR, that is not an error! -- "If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing." --- Malcolm X -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130808011209.GB2527@tal
Re: Php5 question
David Guntner wrote: > John W. Foster grabbed a keyboard and wrote: > >> PHP Deprecated: Comments starting with '#' are deprecated in > >> /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0 > > Pretty much means what it says - the .ini file it's pointing to is using > # as a comment, and it's giving you a warning that the use of the # > character for a comment is now considered deprecated. Edit the file in > question and change the offending line to use // or ; to indicate a > comment, and that message should go away. Unless I'm getting myself > confused with something else... :-) Agreed. And additionally I think this may indicate another problem. The php5-cli package uses ucf and I think there may be a bug there. After once installing the ini file it never tries to update it again. I think that is bad. Although it probably became that way due to someone filing a bug report asking for it to be that way. But it means that if you previously installed php5-cli years and releases ago that you will never get a newer copy of that file. Even removing the file and 'apt-get install --reinstall php5-cli' won't replace it. This makes getting an updated version of that file much more difficult. By poking around it looks like the /etc/php5/cli/php.ini file is a copy of /usr/share/php5/php.ini-production. Therefore I suggest that you copy your /etc/php5/cli/php.ini file off, replace it with /usr/share/php5/php.ini-production, then merge in any local customizations that you might desire. I think it likely that you haven't made any local customizations and can simply use the file directly. What do others think? A bug to be filed? Bob signature.asc Description: Digital signature
Re: Php5 question
John W. Foster grabbed a keyboard and wrote: > On Tue, 2013-08-06 at 15:36 -0700, David Guntner wrote: >> John W. Foster grabbed a keyboard and wrote: >>> Im seeing this type of error in several situations on both my machines & >>> on the remote servers that I work with. Any way to get rid of this error >>> message. It does not seem to be a fatal issue, just annoying. >> >> And what error is that...? > > oops > >> PHP Deprecated: Comments starting with '#' are deprecated in >> /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0 Pretty much means what it says - the .ini file it's pointing to is using # as a comment, and it's giving you a warning that the use of the # character for a comment is now considered deprecated. Edit the file in question and change the offending line to use // or ; to indicate a comment, and that message should go away. Unless I'm getting myself confused with something else... :-) --Dave smime.p7s Description: S/MIME Cryptographic Signature
Re: Php5 question
On Tue, 2013-08-06 at 15:36 -0700, David Guntner wrote: > John W. Foster grabbed a keyboard and wrote: > > Im seeing this type of error in several situations on both my machines & > > on the remote servers that I work with. Any way to get rid of this error > > message. It does not seem to be a fatal issue, just annoying. > > And what error is that...? > > --Dave > > > oops > PHP Deprecated: Comments starting with '#' are deprecated in > /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1375832983.30932.0.ca...@beast.home
Re: Php5 question
John W. Foster grabbed a keyboard and wrote: > Im seeing this type of error in several situations on both my machines & > on the remote servers that I work with. Any way to get rid of this error > message. It does not seem to be a fatal issue, just annoying. And what error is that...? --Dave smime.p7s Description: S/MIME Cryptographic Signature
Php5 question
Im seeing this type of error in several situations on both my machines & on the remote servers that I work with. Any way to get rid of this error message. It does not seem to be a fatal issue, just annoying. john -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1375824826.27801.1.ca...@beast.home