Hello,
I have a little problem with PEAR. I'm running PHP in safe mode, so I get a message like
Code:
WARNING: running in safe mode requires that all files created be the same uid as the
current script. PHP reports this script is uid: 0, and current user is: root
after nearly every command. Nonetheless most stuff seems to work. But whenever I run
Code:
pear search <package>
I get a message like
Code:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 3735552 bytes)
in /usr/lib/php/XML/RPC.php(750) : eval()'d code on line 730
Allowed memory size of 8388608 bytes exhausted (tried to allocate 0 bytes)
Disabeling safe mode didn't change anything concerning the fatal error. The property max_execution_time is set to 30 seconds which should be enough. I have no idea what the problem is. I'm running PHP 5.0.3 on an Apache 1.3.33 and a default PEAR configuration. The following PEAR packages are installed:
Code:
Installed packages:
===================
Package Version State
Archive_Tar 1.2 stable
Console_Getopt 1.2 stable
PEAR 1.3.4 stable
XML_RPC 1.1.0 stable
Maybe someone could help me with that. It would also be great if someone knew howto get PEAR working better with safe mode enabled. I noticed that there is a safe_mode_include_dir property in the php.ini file. Maybe only some directories need to be specified there...
Thanks a lot,
Lars