Hello,
You can install APC php module on a
Linux VPS using following steps :
1) Download the latest/stable APC version archive from
http://pecl.php.net/package/APC
2) Extract the archived file
Quote:
|
tar -zxvf APC-3.1.3p1.tgz
|
3) Prepare a PHP extension for compiling
4) Install and enable APC module
5) Edit php.ini file and mention the APC extension in it
Quote:
|
vi /usr/local/lib/php.ini
|
Search for string "extension" and add the following line :
6) Restart
web server
Quote:
service httpd stop
service httpd start
|
7) Verify the APC module by creating phpinfo file under any domain
Insert the following code in it
Browse url :
http://yourdomain.com/phpinfo.php
You should get the output similar to following :

==========
apc
APC Support enabled
Version 3.1.3p1
MMAP Support Enabled
MMAP File Mask
no value
Locking type pthread mutex Locks
Revision $Revision: 286798 $
Build Date Jun 3 2010 06:28:34
==========
Thank You!!
-------------
Regards,
Alec
VPS Support Team