[php-maint] Bug#631349: Bug#631349: php-pear: Missing /etc/pear.conf -> /etc/pear/pear.conf

Ondřej Surý ondrej at debian.org
Thu Aug 23 08:25:12 UTC 2012


notfound 631349 php5/5.3.3-7+squeeze1
severity 631349 normal
tags 631349 +moreinfo
thank you

Hi Christian,

check your local config (/root/.pearrc), because Debian fresh install
has correct path for /etc/pear/pear.conf:

root at howl:/# pear config-show
Configuration (channel pear.php.net):
=====================================
Auto-discover new Channels     auto_discover    <not set>
Default Channel                default_channel  pear.php.net
HTTP Proxy Server Address      http_proxy       <not set>
PEAR server [DEPRECATED]       master_server    pear.php.net
Default Channel Mirror         preferred_mirror pear.php.net
Remote Configuration File      remote_config    <not set>
PEAR executables directory     bin_dir          /usr/bin
PEAR documentation directory   doc_dir          /usr/share/php/doc
PHP extension directory        ext_dir          /usr/lib/php5/20090626
PEAR directory                 php_dir          /usr/share/php
PEAR Installer cache directory cache_dir        /tmp/pear/cache
PEAR configuration file        cfg_dir          /usr/share/php/cfg
directory
PEAR data directory            data_dir         /usr/share/php/data
PEAR Installer download        download_dir
/tmp/buildd/php5-5.3.3/pear-build-download
directory
PHP CLI/CGI binary             php_bin          /usr/bin/php
php.ini location               php_ini          <not set>
--program-prefix passed to     php_prefix       <not set>
PHP's ./configure
--program-suffix passed to     php_suffix       <not set>
PHP's ./configure
PEAR Installer temp directory  temp_dir         /tmp/pear/temp
PEAR test directory            test_dir         /usr/share/php/test
PEAR www files directory       www_dir          /usr/share/php/htdocs
Cache TimeToLive               cache_ttl        3600
Preferred Package State        preferred_state  stable
Unix file mask                 umask            22
Debug Log Level                verbose          1
PEAR password (for             password         <not set>
maintainers)
Signature Handling Program     sig_bin          /usr/bin/gpg
Signature Key Directory        sig_keydir       /etc/pear/pearkeys
Signature Key Id               sig_keyid        <not set>
Package Signature Type         sig_type         gpg
PEAR username (for             username         <not set>
maintainers)
User Configuration File        Filename         /root/.pearrc
System Configuration File      Filename         /etc/pear/pear.conf

Ondrej

On Thu, Jun 23, 2011 at 7:18 AM, nutzteil <nutzteil at web.de> wrote:
> Package: php-pear
> Version: 5.3.3-7+squeeze1
> Severity: important
> Tags: patch
>
>
> Hello,
> php-pear has a configuration /etc/pear/pear.conf.
>
> After trying 'pear config-show' i saw an item:
> -------------------------
> System Configuration File      Filename         /etc/pear.conf
> -------------------------
> but in debian it is /etc/pear/pear.conf.
>
>
> So i tried a link /etc/pear.conf -> pear/pear.conf,
> and now i saw an significant change:
> --------------------------------------
> --- .config-show_0      2011-06-23 06:57:21.000000000 +0200
> +++ .config-show_1      2011-06-23 06:58:10.000000000 +0200
> @@ -7,14 +7,14 @@
>  Default Channel Mirror         preferred_mirror pear.php.net
>  Remote Configuration File      remote_config    <not set>
>  PEAR executables directory     bin_dir          /usr/bin
> -PEAR documentation directory   doc_dir          /usr/share/php/docs
> +PEAR documentation directory   doc_dir          /usr/share/php/doc
>  PHP extension directory        ext_dir          /usr/lib/php5/20090626+lfs
>  PEAR directory                 php_dir          /usr/share/php
>  PEAR Installer cache directory cache_dir        /tmp/pear/cache
>  PEAR configuration file        cfg_dir          /usr/share/php/cfg
>  directory
>  PEAR data directory            data_dir         /usr/share/php/data
> -PEAR Installer download        download_dir     /tmp/pear/download
> +PEAR Installer download        download_dir     /tmp/buildd/php5-5.3.3/pear-build-download
>  directory
>  PHP CLI/CGI binary             php_bin          /usr/bin/php
>  php.ini location               php_ini          <not set>
> @@ -23,8 +23,8 @@
>  --program-suffix passed to     php_suffix       <not set>
>  PHP's ./configure
>  PEAR Installer temp directory  temp_dir         /tmp/pear/temp
> -PEAR test directory            test_dir         /usr/share/php/tests
> -PEAR www files directory       www_dir          /usr/share/php/www
> +PEAR test directory            test_dir         /usr/share/php/test
> +PEAR www files directory       www_dir          /usr/share/php/htdocs
>  Cache TimeToLive               cache_ttl        3600
>  Preferred Package State        preferred_state  stable
>  Unix file mask                 umask            22
> @@ -32,7 +32,7 @@
>  PEAR password (for             password         <not set>
>  maintainers)
>  Signature Handling Program     sig_bin          /usr/bin/gpg
> -Signature Key Directory        sig_keydir       /etc/pearkeys
> +Signature Key Directory        sig_keydir       /etc/pear/pearkeys
>  Signature Key Id               sig_keyid        <not set>
>  Package Signature Type         sig_type         gpg
>  PEAR username (for             username         <not set>
> ----------------------------------------
>
> I recommend to put a link in php-pear
> /etc/pear.conf -> pear/pear.conf
> resp. to change the build-option on /etc/pear/pear.conf
> to get the configuration evaluated.
>
>
> Best wishes
> christian
>
>
>
>
>
>
>
>
>
> -- System Information:
> Debian Release: 6.0.1
>   APT prefers stable
>   APT policy: (500, 'stable')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages php-pear depends on:
> ii  php5-cli                5.3.3-7+squeeze1 command-line interpreter for the p
> ii  php5-common             5.3.3-7+squeeze1 Common files for packages built fr
>
> Versions of packages php-pear recommends:
> ii  gnupg                         1.4.10-4   GNU privacy guard - a free PGP rep
>
> Versions of packages php-pear suggests:
> pn  php5-dev                      <none>     (no description available)
>
> -- no debconf information
>
>
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



-- 
Ondřej Surý <ondrej at sury.org>



More information about the pkg-php-maint mailing list