[Pkg-phototools-devel] Deprecated comment style generates warning in PHP 5.3

Thijs Kinkhorst thijs at debian.org
Sun Jan 3 14:19:46 UTC 2010


Hi,

Your package ships a config file under /etc/php5/cli/conf.d/ which looks 
something like this:

  # configuration for php XXX module
  extension=XXX.so

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.


cheers,
Thijs


Stuart R. Anderson <anderson at netsweng.com>
   php5-ming                              

Dave Beckett <dajobe at debian.org>
   php5-librdf                  

Olly Betts <olly at survex.com>
   php5-xapian              

Cyril Brulebois <kibi at debian.org>
   libpuzzle-php (U)

Debian PhotoTools Maintainers <pkg-phototools-devel at lists.alioth.debian.org>
   libpuzzle-php

Turbo Fredriksson <turbo at debian.org>
   php5-idn

Ola Lundqvist <opal at debian.org>
   php5-imagick (U)

Jose Carlos Medeiros <debian at psabs.com.br>
   php5-imagick

Frederic Peters <fpeters at debian.org>
   php5-lasso

Piotr Roszatycki <dexter at debian.org>
   php5-uuid

Uwe Steinmann <steinm at debian.org>
   php5-ps

Michal Čihař <nijel at debian.org>
   php5-xcache



More information about the Pkg-phototools-devel mailing list