Link to home
Start Free TrialLog in
Avatar of ericr29
ericr29

asked on

PECL package installation isue.

I am trying to install the PECL zip package.  When I run the command ./pecl install zip or ./pecl install pecl/zip, I get the error:

"Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 82 bytes) in /usr/lib64/php/pear/PEAR/PEAR/XMLParser.php on line 173
Allowed memory size of 8388608 bytes exhausted (tried to allocate 23 bytes)"

even though I have set the memory_limit in php.ini to 32M.

What do I need to do to get this to install?
Avatar of hernst42
hernst42
Flag of Germany image

Seems you edit the wrong php.ini.

check php -i
for "Configuration File (php.ini) Path" and edit that php.ini
Avatar of ericr29
ericr29

ASKER

Nope, correct file modified.  Any other ideas?
the pecl scripts deactivates the loading of any php.ini file

edit the pecl-Script to use a higher memory limit like:

exec $PHP -C -n -q $INCARG -d memory_limit=128M -d output_buffering=1 -d safe_mode=0 -d register_argc_argv="On" $INCDIR/peclcmd.php "$@"
ASKER CERTIFIED SOLUTION
Avatar of ericr29
ericr29

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
objection to delete
accept answer of the asker and refund points
Avatar of ericr29

ASKER

None of the answers I got solved the problem.  I found the solution on my own.
https://www.experts-exchange.com/help.jsp#hi131
The question should not be deleted, it should be PAQRefund and thus objection to delete. Ask to PAQ-Refund for this question
Avatar of ericr29

ASKER

I thought I did that.  Sorry
Avatar of ericr29

ASKER

Request PAQRefund.
Avatar of modus_operandi
Closed, 500 points refunded.
modus_operandi
EE Moderator