Install APC (Alternative PHP Cache) in RHEL/CentOS 6/5

Install APC (Alternative PHP Cache) in RHEL/CentOS 6/5

yum install php-pear php-devel httpd-devel pcre-devel gcc make
pecl install apc
echo “extension=apc.so” > /etc/php.d/apc.ini
service httpd restart
cp /usr/share/pear/apc.php /var/www/html/
vi /var/www/html/apc.php

One thought on “Install APC (Alternative PHP Cache) in RHEL/CentOS 6/5

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *