Ramblings from MostlyChris

Tech stuff and a bit more

Browsing Posts tagged pecl

Installing APC

No comments

Follow these steps to install APC on a RHEL 5 server. 1. Install php-devel for phpize (if not installed). yum install php-devel 2. Install the apache devel pkgs for apxs (if needed). yum install httpd-devel 3. Make /tmp executable. mount -o remount,exec /tmp 4. Set the memory limit in /usr/share/pear/pearcmd.php to 16M. vi /usr/share/pear/pearcmd.php @ini_set('memory_limit', [...]

Recently, I ran into an error while attempting to install a PECL package on a Redhat 5.3 64bit server. —- Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /usr/share/pear/PEAR/Builder.php on line 263 —- I checked the memory limit setting in /etc/php.ini and it was set for 16M so [...]