[php-maint] Bug#589684: php5-common: Wrong default include_path if none is defined in php.ini

hili spam at hili.fr
Mon Jul 19 22:58:51 UTC 2010


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





More information about the pkg-php-maint mailing list