[php-maint] Deprecated comment style generates warning in PHP 5.3
thijs at debian.org
Sun Jan 3 14:52:47 UTC 2010
Your package ships a config file under /etc/php5/cli/conf.d/ which looks
something like this:
# configuration for php XXX module
PHP upstream has decided that using '#' as a comment marker wasn't a good idea
afterall and deprecated that starting PHP 5.3, thus these config file snippets
start to generate warnings. The fix is simple: start the comment with ";"
instead which works with all current PHP versions. Even though PHP 5.3 isn't
in sid yet, switching over now makes sure you're ready once it enters.
I'm sending this to maintainers of PHP extensions that I've found using this
construct. See below for full list. I have already patched the php5 package to
make this change for the extensions it builds. As far as I can see dh-make-php
already behaves correctly (doesn't include a comment at all).
I'll be filing bugs for this next month for the remaining packages.
Stuart R. Anderson <anderson at netsweng.com>
Dave Beckett <dajobe at debian.org>
Olly Betts <olly at survex.com>
Cyril Brulebois <kibi at debian.org>
Debian PhotoTools Maintainers <pkg-phototools-devel at lists.alioth.debian.org>
Turbo Fredriksson <turbo at debian.org>
Ola Lundqvist <opal at debian.org>
Jose Carlos Medeiros <debian at psabs.com.br>
Frederic Peters <fpeters at debian.org>
Piotr Roszatycki <dexter at debian.org>
Uwe Steinmann <steinm at debian.org>
Michal Čihař <nijel at debian.org>
More information about the pkg-php-maint