[php-maint] Bug#341492: marked as done (php4-cli)

Debian Bug Tracking System owner at bugs.debian.org
Thu Dec 1 01:33:12 UTC 2005


Your message dated Thu, 01 Dec 2005 12:08:07 +1100
with message-id <438E4CF7.3090201 at 0c3.net>
and subject line [php-maint] Bug#341492: php4-cli
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 30 Nov 2005 22:11:40 +0000
>From mpapet at sci-s.com Wed Nov 30 14:11:40 2005
Return-path: <mpapet at sci-s.com>
Received: from rs6.luxsci.com ([65.61.136.14])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EhaAu-0008Cm-3C
	for submit at bugs.debian.org; Wed, 30 Nov 2005 14:11:40 -0800
Received: from mikep2 ([68.121.238.18])
	(authenticated bits=0)
	by rs6.luxsci.com (8.13.5/8.13.5) with ESMTP id jAUMB7qm010023
	for <submit at bugs.debian.org>; Wed, 30 Nov 2005 16:11:08 -0600
Reply-To: <mpapet at sci-s.com>
From: "mpapet" <mpapet at sci-s.com>
To: <submit at bugs.debian.org>
Subject: php4-cli
Date: Wed, 30 Nov 2005 14:08:07 -0800
Message-ID: <LAEIJJLCLDDJDCMPOLGCOEKADDAA.mpapet at sci-s.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4952.2800
Importance: Normal
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_20,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: php4-cli
Version: 4:4.3.10-16

Issue: php.ini (/etc/php4/cli/php.ini) is not configured to do the
following:
-load modules from default location.  For example, I have to change php.ini
to include the gd.so module as well as the path to gd.so.
-paths to php files are not included. (usr/lib/php4/20020429:/usr/share/php)

This oversight leads to a situation where one may try to use pear to install
more php modules. Pear config-show reports correct paths, but pear still
reports gd missing when trying to install image_graph (pear install
image_graph) with no clue as to why it fails.

If you reply, "This is by design." then some kind of message should appear
during package installation that gives the user some clue that they need to
modify php.ini to include the paths.  Maybe a comment can be added to
php.ini for Debian?

If you reply, "Yes, but there's another problem...." then I think the least
that can be done is some kind of reminder to set up the paths during package
installation.

Only somewhat related, does there have to be two php.ini files?  (one is
apache, the other cli?)

Michael


---------------------------------------
Received: (at 341492-done) by bugs.debian.org; 1 Dec 2005 01:09:00 +0000
>From adconrad at 0c3.net Wed Nov 30 17:09:00 2005
Return-path: <adconrad at 0c3.net>
Received: from loki.0c3.net ([69.0.240.48])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EhcwV-0001fV-TK
	for 341492-done at bugs.debian.org; Wed, 30 Nov 2005 17:09:00 -0800
Received: from [203.49.196.168] (helo=[10.0.0.4])
	by loki.0c3.net with asmtp (Exim 4.34)
	id 1Ehcvz-0007LO-7L; Wed, 30 Nov 2005 18:08:28 -0700
Message-ID: <438E4CF7.3090201 at 0c3.net>
Date: Thu, 01 Dec 2005 12:08:07 +1100
From: Adam Conrad <adconrad at 0c3.net>
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: mpapet at sci-s.com,  341492-done at bugs.debian.org
Subject: Re: [php-maint] Bug#341492: php4-cli
References: <LAEIJJLCLDDJDCMPOLGCOEKADDAA.mpapet at sci-s.com>
In-Reply-To: <LAEIJJLCLDDJDCMPOLGCOEKADDAA.mpapet at sci-s.com>
X-Enigmail-Version: 0.92.1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

mpapet wrote:
> 
> Issue: php.ini (/etc/php4/cli/php.ini) is not configured to do the
> following:
> -load modules from default location.

Uhm, the compiled-in default is correct, and will work for everyone.

> For example, I have to change php.ini
> to include the gd.so module as well as the path to gd.so.

apt-get install php4-gd offers to put "extension=gd.so" in your php.ini
for you.  Including the path is both unnecessary and wrong.

> -paths to php files are not included. (usr/lib/php4/20020429:/usr/share/php)

This is just plain wrong.  Why would you ever want to include() a module
in a script?  /usr/lib/php4/$API/ is for compiled modules, not scripts.

... Adam



More information about the pkg-php-maint mailing list