Teo wrote:
Am facut-o de 16M, si am incercat sa instalez alte module, de ex:

pear5 install --alldeps Log
downloading Log-1.9.8.tgz ...
Starting to download Log-1.9.8.tgz (38,841 bytes)
..........done: 38,841 bytes
PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted
(tried to allocate 79047 bytes) in
/usr/share/php5/PEAR/PEAR/PackageFile/v2.php on line 1861

uname -a
Linux mail 2.6.16.13-4-smp #1 SMP Wed May 3 04:53:23 UTC 2006 x86_64
x86_64 x86_64 GNU/Linux


rpm -qa | grep apache
apache2-example-pages-2.2.0-21
apache2-mod-apparmor-2.0-21
apache2-2.2.0-21
apache2-mod_fcgid-1.07-14
apache2-mod_php5-5.1.2-27
apache2-mod_python-3.1.3-60
apache2-prefork-2.2.0-21
apache2-doc-2.2.0-21
apache2-mod_perl-2.0.2-14
apache2-worker-2.2.0-21



rpm -qa | grep php
php5-dom-5.1.2-27
php5-wddx-5.1.2-27
php5-zlib-5.1.2-27
php5-odbc-5.1.2-27
php5-sysvsem-5.1.2-27
php5-mcrypt-5.1.2-27
php5-ncurses-5.1.2-27
php5-iconv-5.1.2-27
php5-ftp-5.1.2-27
php5-5.1.2-27
php5-filepro-5.1.2-27
php5-curl-5.1.2-27
php5-mbstring-5.1.2-27
php5-sysvmsg-5.1.2-27
apache2-mod_php5-5.1.2-27
php5-bz2-5.1.2-27
php5-ldap-5.1.2-27
php5-snmp-5.1.2-27
php5-exif-5.1.2-27
php5-pspell-5.1.2-27
php5-devel-5.1.2-27
php5-pear-log-1.9.3-17
php5-gmp-5.1.2-27
php5-openssl-5.1.2-27
php5-sqlite-5.1.2-27
php5-fastcgi-5.1.2-27
php5-shmop-5.1.2-27
php5-gd-5.1.2-27
php5-mhash-5.1.2-27
php5-xmlrpc-5.1.2-27
php5-dbase-5.1.2-27
php5-pcntl-5.1.2-27
php5-tokenizer-5.1.2-27
php5-calendar-5.1.2-27
php5-imap-5.1.2-27
php5-posix-5.1.2-27
php5-pgsql-5.1.2-27
php5-pear-5.1.2-27
php5-gettext-5.1.2-27
php5-xsl-5.1.2-27
php5-mysqli-5.1.2-27
php5-ctype-5.1.2-27
php5-sockets-5.1.2-27
php5-sysvshm-5.1.2-27
php5-bcmath-5.1.2-27
php5-pdo-5.1.2-27
php5-soap-5.1.2-27
php5-mysql-5.1.2-27


In plus, cand incerc sa instalez din nou pachetul pentru care a dat
mai devreme "Fatal error", primesc output-ul:

pear5 install DB_Pager
Skipping package "pear/DB_Pager", already installed as version 0.7
No valid packages found
install failed

Ce pot sa fac?


On 9/8/06, George <[EMAIL PROTECTED]> wrote:
On 9/8/06, Teo wrote:
> Salut,
>
> Incerc sa instalez "PEAR::Net_SMTP":
>
>
> pear5 install Net_SMTP
> Did not download optional dependencies: pear/Auth_SASL, use --alldeps
> to download automatically
> pear/Net_SMTP can optionally use package "pear/Auth_SASL"
> downloading Net_SMTP-1.2.8.tgz ...
> Starting to download Net_SMTP-1.2.8.tgz (11,274 bytes)
> .....done: 11,274 bytes
> PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted
> (tried to allocate 92160 bytes) in
> /usr/share/php5/PEAR/PEAR/PackageFile/v2/Validator.php on line 173
>

Modifica in /etc/php.ini
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)

George

_______________________________________________

editezi ceva gresit probabil.

PEAR si PECL au nevoie pe debian cel putin de php[4|5]-dev. Iar fisierul pe care tre sa-l editezi este /etc/php[4|5]/cli/php.ini. php.ini pt modphp e in /etc/php[4|5]/apache(2)/php.ini
Si pune 64 de megi. Unele fac urat cu doar 16 megi.

Dragos

_______________________________________________
RLUG mailing list
RLUG@lists.lug.ro
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui