PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imagick.ini on line 1 in Unknown on line 0

Bug #556469 reported by Anthony Batchelor
50
This bug affects 9 people
Affects Status Importance Assigned to Milestone
php-imagick (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Lucid by Mirsal Ennaime

Bug Description

When starting Apache (with PHP), the following line is output in the error log

PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imagick.ini on line 1 in Unknown on line 0

Changing the first line in /etc/php5/cli/conf.d/imagick.ini from
# configuration for php imagick module
to
// configuration for php imagick module

resolves the issue.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: php5-imagick 2.1.1RC1-1build3
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue Apr 6 13:41:02 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: php-imagick

==

SRU process update:

Error messages are printed on stderr when running the php command line interface, as well as in the apache error logs when mod_php is used.

This bug has been fixed in Maverick by replacing comments using the deprecated '#' notation by the new ';' notation.

PATCH: http://launchpadlibrarian.net/48024372/imagick_ini_comments.debdiff

TEST CASE: run the "php" command in a terminal. The following message is printed on stderr:
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imagick.ini on line 1 in Unknown on line 0

Chances of a regression are null.

Revision history for this message
Anthony Batchelor (toeknee) wrote :
description: updated
Revision history for this message
discont (discont) wrote :

Should be replaced by ';' (semicolon)

Revision history for this message
Mirsal Ennaime (mirsal-ennaime) wrote :

Here's a debdiff that changes the comment notation

Changed in php-imagick (Ubuntu):
assignee: nobody → Mirsal Ennaime (mirsal-ennaime)
status: New → In Progress
assignee: Mirsal Ennaime (mirsal-ennaime) → nobody
status: In Progress → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package php-imagick - 2.1.1RC1-1build3ubuntu1

---------------
php-imagick (2.1.1RC1-1build3ubuntu1) maverick; urgency=low

  * debian/imagick.ini: Use the correct comment notation (LP: #556469)
  * debian/control: Change the Maintainer/XSBC-Original-Maintainer fields.
 -- Mirsal Ennaime <email address hidden> Fri, 07 May 2010 23:35:53 +0200

Changed in php-imagick (Ubuntu):
status: Confirmed → Fix Released
Luke Faraone (lfaraone)
Changed in php-imagick (Ubuntu):
status: Confirmed → Fix Committed
description: updated
description: updated
Revision history for this message
Cor Driehuis (cor3huis) wrote :

Still the same in Lucid 10.04 Any chance this fix will drip through downstream?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.