Webmaster's Community

Webhosting Forums => Dedicated Server Administration => Topic started by: PHPize on September 19, 2011, 02:40:07 PM

Title: How to install APC on Plesk 10 running centOS
Post by: PHPize on September 19, 2011, 02:40:07 PM
Hi
I am looking to find a  guide which can help me to install APC on a linux centos server. The server is running Plesk 10 webhosting control panel .

Is there quick guide specially for plesk 10 server to do this ?
Title: Re: How to install APC on Plesk 10 running centOS
Post by: Ricky on September 20, 2011, 06:09:04 AM
I can see you have found the solution yourself.

Still, if you need to know then its easy:

First install pear if its not installed, on CentOS its,
Code: [Select]
yum install php-pear
Next you have to install php development tools
Code: [Select]
yum install php-devel
then httpd development tools
Code: [Select]
yum install httpd-devel
Now, install APC
Code: [Select]
pecl install apc
If there is no error or problem then run :

Code: [Select]
echo "extension = apc.so" > /etc/php.d/apc.ini
Assuming, you followed exactly I have said, restart your apache.. and check in your phpinfo() for apc details.