php5-ming : comment syntax is wrong in ming.ini

Bug #1066260 reported by Watcharapol Tadtiang on 2012-10-13
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ming (Ubuntu)
Undecided
Unassigned

Bug Description

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

$ wrong
< # configuration for php MING module

$ right
> ; configuration for php MING module

Thank you.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: php5-ming 1:0.4.3-1.2ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
Uname: Linux 3.2.0-32-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
Date: Sat Oct 13 17:54:24 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ming
UpgradeStatus: No upgrade log present (probably fresh install)

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ming (Ubuntu):
status: New → Confirmed
Maxxer (lorenzo-milesi) wrote :

what's the problem in fixing this bug? so trivial...

thanks!

Alex (alex-ap-consulting) wrote :

Here's a patch - trivial indeed!

The attachment "ming.ini.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
mathew (meta23) wrote :

While the suggested patch prevents the comment which causes the error, I'd like to point out that the error message *reports the wrong path to the file*. So it's not quite as trivial as that.

Vincent (dpkg) wrote :

Hi,

This is the same issue on i386 arch.

Also, according to the other php modules existing on Ubuntu (in my case the one installed among ming : curl, gd, mcrypt, mysqli...), the comments are not " /* ... */ " but only "; ..."

A simple patch is provided.

Thanks

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

Other bug subscribers