Install Memcache for PHP on Dreamhost PS


I want to install Memcache for PHP on my dreamhost private server.
Does anyone has step by step guide to install Memcache for PHP.
I have installed Memcache.

But when I tried installing memcache extension by issuing command ‘pecl install memcache’,I am getting below error.

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 92160 bytes) in /usr/local/lib/php/PEAR/PackageFile/v2.php on line

Please advise.


I came to this forum looking to answer exactly this question.

I’ve been back and forth with support, trying to figure out how to up the memory for PEAR, or alternatively, install memcache in any way possible.

Just bumping this topic to see if anyone has managed to get memcache on their PS yet. I’m very keen to use this to help reduce the database footprint of my website (PHP)…

I found some good instructions on how to do this here:

…but I can’t install on my PS due to insufficient permissions :frowning: