Yum up some packages:
yum install php-pear php-devel httpd-devel
Install APC using pear (the pear installer is smarter than the pecl installer):
When the installer asks about APXS, say ‘no’.Â
pear install pecl/apc
Tell PHP to load APC:
echo extension=apc.so > /etc/php.d/apc.ini
Restart Apache:
/sbin/service httpd graceful
Posted September 14, 2008 by Casey
Categories: Technology. Tags: apc, Centos, documentation, install, linux, php, rhel, system administration. 3 Comments.
Stuck with PHP 5.1.6 on RHEL or even CentOS (and a sysadmin who insists on using packages)? Need JSON? I did. The solution is easy:
yum install php-devel
pecl install json
The pecl install failed when it hit an 8MB memory limit, and I was clueless about how to fix it until I learned that the pecl installer [...]
Posted May 28, 2008 by Casey Bisson
Categories: Technology. Tags: documentation, install, json, linux, php, red hat, rhel, system administration, yum. One Comment.
Be geeky and look at the Apache modules:
/usr/sbin/httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
Set your path:
PATH=$PATH:/usr/sbin
export PATH
Posted September 14, 2004 by Casey
Categories: Technology. Tags: apache, documentation, linux, system administration. Be the first one.