Debian Bug report logs -
#589684
php5-common: Wrong default include_path if none is defined in php.ini
Reported by: hili <spam@hili.fr>
Date: Mon, 19 Jul 2010 23:00:01 UTC
Severity: normal
Found in version php5/5.2.6.dfsg.1-1+lenny8
Done: Raphael Geissert <geissert@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#589684; Package php5-common.
(Mon, 19 Jul 2010 23:00:04 GMT) (full text, mbox, link).
Acknowledgement sent
to hili <spam@hili.fr>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Mon, 19 Jul 2010 23:00:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: php5-common
Version: 5.2.6.dfsg.1-1+lenny8
Severity: normal
Hello,
I think there is a incoherence between php5 and the default value of the "include_path" variable: the default value is "/usr/share/php" while the directory is not created by the
package. Actually, the directory created is "/usr/share/php5"
$ php -i | grep include_path
include_path => .:/usr/share/php:/usr/share/pear => .:/usr/share/php:/usr/share/pear
$ ls /usr/share/php
ls: cannot access /usr/share/php: No such file or directory
Step to reproduce: install the php5-common package
Thanks in advance.
-- System Information:
Debian Release: 5.0.5
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages php5-common depends on:
ii libc6 2.7-18lenny4 GNU C Library: Shared libraries
ii sed 4.1.5-6 The GNU sed stream editor
php5-common recommends no packages.
php5-common suggests no packages.
-- no debconf information
Reply sent
to Raphael Geissert <geissert@debian.org>:
You have taken responsibility.
(Mon, 19 Jul 2010 23:48:07 GMT) (full text, mbox, link).
Notification sent
to hili <spam@hili.fr>:
Bug acknowledged by developer.
(Mon, 19 Jul 2010 23:48:07 GMT) (full text, mbox, link).
Message #10 received at 589684-done@bugs.debian.org (full text, mbox, reply):
Hi,
On Monday 19 July 2010 17:58:51 hili wrote:
[...]
> I think there is a incoherence between php5 and the default value of the
> "include_path" variable: the default value is "/usr/share/php" while the
> directory is not created by the package. Actually, the directory created
> is "/usr/share/php5"
>
> $ php -i | grep include_path
> include_path => .:/usr/share/php:/usr/share/pear =>
> .:/usr/share/php:/usr/share/pear
>
> $ ls /usr/share/php
> ls: cannot access /usr/share/php: No such file or directory
That's perfectly okay. PHP libraries provided by Debian packages are installed
under /usr/share/php. /usr/share/php5 is used by the php5 packages (the
interpreter,) not by the libraries or php code.
Cheers,
--
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 17 Aug 2010 07:35:13 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 02:38:44 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.