PHP Allowed memory size of 8388608 bytes exhausted
If you try to install PHP PECL package and get an "Allowed memory size of 8388608 bytes exhausted" you should know that pecl ignores php.ini memory_limit directive. As suggested in this post, you should use pear instead of pecl to install you package. For example, instead of doing
I've also learned that you can use:
ReplyDeletepear install pecl/_whatever_
rather than
pecl install _whatever_
and the first won't complain about the limit.
Thanx dude, I saved my time.
ReplyDeleteThank you so much! You saved me so much time! (I'm a Lebanese neighbor, shalom. Geekness knows no borders.)
ReplyDeleteGlad i could help. Salam :-)
ReplyDeleteOh man, great post!!!
ReplyDeleteExcellent job!
ReplyDeleteWish I had known this ages ago!
Very useful post and comment thread, specially the tip from lefty crupps, thanks a lot for addressing this issue, Nir.
ReplyDeleteBest,
Aleksey