Home » PEAR » PEAR » Bug #3866
Fatal memory error
Details
| Submitted | 2005-03-17 22:39 UTC |
|---|---|
| From | php at jonobacon dot org |
| Status | No Feedback |
| Package | PEAR |
| PHP Version | 4.3.8 |
| OS | Ubuntu Linux on PPC |
| Roadmaps | (Not assigned) |
Comments
[2005-03-17 22:39 UTC] php at jonobacon dot org
Description:
------------
I tried running the php4-package from Ubuntu Universe and I got fatal memory errors. I have changed memory_limit in php.ini to 64M and I had the same problem.
I then tried to run:
lynx -source http://pear.php.net/go-pear | php
This is the output:
root@forge:/home/jono # lynx -source http://pear.php.net/go-pear | php
Welcome to go-pear!
Go-pear will install the 'pear' command and all the files needed by
it. This command is your tool for PEAR installation and maintenance.
Go-pear also lets you download and install the PEAR packages bundled
with PHP: DB, Net_Socket, Net_SMTP, Mail, XML_Parser, PHPUnit.
If you wish to abort, press Control-C now, or press Enter to continue:
HTTP proxy (http://user:password@proxy.myhost.com:port), or Enter for none::
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation prefix : /usr
2. Binaries directory : $prefix/bin
3. PHP code directory ($php_dir) : $prefix/share/pear
4. Documentation base directory : $php_dir/docs
5. Data base directory : $php_dir/data
6. Tests base directory : $php_dir/tests
1-6, 'all' or Enter to continue:
The following PEAR packages are bundled with PHP: DB, Net_Socket, Net_SMTP,
Mail, XML_Parser, PHPUnit.
Would you like to install these as well? [Y/n] : y
Loading zlib: ok
Downloading package: PEAR-stable......ok
Downloading package: Archive_Tar-stable....ok
Downloading package: Console_Getopt-stable....ok
Downloading package: XML_RPC-stable....ok
Bootstrapping: PEAR...................(remote) ok
Bootstrapping: Archive_Tar............(remote) ok
Bootstrapping: Console_Getopt.........(remote) ok
Downloading package: DB...............ok
Downloading package: Net_Socket.......ok
Downloading package: Net_SMTP.........ok
Downloading package: Mail.............ok
Downloading package: XML_Parser.......ok
Downloading package: PHPUnit..........ok
Extracting installer..................ok
install ok: PEAR 1.3.5
[[[NOTE - at this point the process seemed to hang for little while and checking in top, the php process was sucking all the CPU processing power.]]]]
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 138 bytes) in /tmp/gopeLtVMV0/Archive/Tar.php on line 1234
Allowed memory size of 67108864 bytes exhausted (tried to allocate 40 bytes)
root@forge:/home/jono #
Expected result:
----------------
It should work. :P