Fileinfo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can not install FileInfo...  any help


[root@linux4 php.d]# 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/pear/doc
PHP extension directory        ext_dir          /usr/lib64/php/modules
PEAR directory                 php_dir          /usr/share/pear
PEAR Installer cache directory cache_dir        /var/cache/php-pear
PEAR configuration file        cfg_dir          /usr/share/pear/cfg
directory
PEAR data directory            data_dir         /usr/share/pear/data
PEAR Installer download        download_dir     /tmp/pear/download
directory
PHP CLI/CGI binary             php_bin          /usr/bin/php
php.ini location               php_ini          <not set>
PEAR Installer temp directory  temp_dir         /tmp/pear/temp
PEAR test directory            test_dir         /usr/share/pear/test
PEAR www files directory       www_dir          /usr/share/pear/www
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/local/bin/gpg
Signature Key Directory        sig_keydir       /etc/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.conf
[root@linux4 php.d]# php -v
PHP 5.1.6 (cli) (built: Sep 12 2007 11:11:52)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
[root@linux4 php.d]# pecl install Fileinfo
downloading Fileinfo-1.0.4.tgz ...
Starting to download Fileinfo-1.0.4.tgz (5,835 bytes)
.....done: 5,835 bytes

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 92160 bytes) in /usr/share/pear/PEAR/Builder.php on line 173
[root@linux4 php.d]# pear install -o Fileinfo
No releases available for package "pear.php.net/Fileinfo" - package
pecl/Fileinfo can be installed with "pecl install Fileinfo"
Cannot initialize 'channel://pear.php.net/Fileinfo', invalid or missing
package file
Package "channel://pear.php.net/Fileinfo" is not valid
install failed
[root@linux4 php.d]# pear install Fileinfo
No releases available for package "pear.php.net/Fileinfo" - package
pecl/Fileinfo can be installed with "pecl install Fileinfo"
Cannot initialize 'channel://pear.php.net/Fileinfo', invalid or missing
package file
Package "channel://pear.php.net/Fileinfo" is not valid
install failed
[root@linux4 php.d]# pecl install Fileinfo
downloading Fileinfo-1.0.4.tgz ...
Starting to download Fileinfo-1.0.4.tgz (5,835 bytes)
.....done: 5,835 bytes

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 92160 bytes) in /usr/share/pear/PEAR/Builder.php on line 173
[root@linux4 php.d]# cat /etc/httpd/conf/httpd.conf | grep -i limit
# during a persistent connection. Set to 0 to allow an unlimited amount.
# ServerLimit: maximum value for MaxClients for the lifetime of the server
ServerLimit      256
#   Options FileInfo AuthConfig Limit
#    AllowOverride FileInfo AuthConfig Limit
#    <Limit GET POST OPTIONS>
#    </Limit>
#    <LimitExcept GET POST OPTIONS>
#    </LimitExcept>
# Aliases: Add here as many aliases as you need (with no limit). The format
is
          AllowOverride FileInfo AuthConfig Indexes Limit
[root@linux4 php.d]# cat /etc/php.ini | grep -i limit
; Expressions in the INI file are limited to bitwise operators and
parentheses:
; setting this directive to On.  If you wish to limit the size of the buffer
; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
; This directive contains a comma-delimited list of environment variables
that
; open_basedir, if set, limits all file operations to the defined directory
; It receives a comma-delimited list of function names. This directive is
; It receives a comma-delimited list of class names. This directive is
; Resource Limits ;
memory_limit = 16M      ; Maximum amount of memory a script may consume
; Maximum number of persistent links.  -1 means no limit.
; Maximum number of links (persistent + non-persistent).  -1 means no limit.
; Maximum number of persistent links.  -1 means no limit.
; Maximum number of links (persistent + non-persistent).  -1 means no limit.
; Maximum time (in secondes) for connect timeout. -1 means no limit
; Maximum number of links.  -1 means no limit.
; Maximum number of persistent links.  -1 means no limit.
; Maximum number of links (persistent+non persistent).  -1 means no limit.
; Maximum number of persistent links.  -1 means no limit.
; Maximum number of links (persistent+non persistent).  -1 means no limit.
; Maximum number of persistent links.  -1 means no limit.
; Maximum number of links (persistent + non-persistent).  -1 means no limit.
; Maximum number of persistent links.  -1 means no limit.
; Maximum number of links (persistent + non-persistent).  -1 means no limit.
; Maximum number of persistent links.  -1 means no limit.
; Maximum number of links (persistent + non-persistent).  -1 means no limit.
session.cache_limiter = nocache
; Maximum number of persistent links.  -1 means no limit.
; Maximum number of links (persistent+non persistent).  -1 means no limit.
;mssql.textlimit = 4096
; Limits the number of records in each batch.  0 = all records in one batch.

-- 
madunix

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux