FORUM HOME | WHUK BLOG   
WEB HOSTING UK AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM
PHP LINUX SHARED HOSTING WINDOWS ASP.NET HOSTING PACKAGES
ECOMMERCE HOSTING ASP MSSQL MS ACCESS ODBC FRONTPAGE HOSTING
CPANEL WHM FANTASTICO RESELLER DEDICATED SERVER WEB HOSTING
CHEAP PLESK CPANEL HTML MYSQL BEST UK VPS HOSTING COMPANY
CHEAP RELIABLE UK HOSTING PROVIDER SINCE 2001
MANAGED WEB HOSTING SERVICE
AFFORDABLE WEBSITE HOSTING SERVICES IN UNITED KINGDOM

Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum » Web Hosting and Domains » FAQ's / Tutorials.

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 03-06-10, 06:16 AM
WHUK Alec's Avatar
VPS Team
 
Join Date: Apr 2010
Posts: 8
Default APC Installation

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

Quote:
cd /usr/local/src/
2) Extract the archived file

Quote:
tar -zxvf APC-3.1.3p1.tgz
3) Prepare a PHP extension for compiling

Quote:
cd APC-3.1.3p1
Quote:
/usr/local/bin/phpize
4) Install and enable APC module

Quote:
./configure --enable-apc
Quote:
make install
5) Edit php.ini file and mention the APC extension in it

Quote:
php -i | grep php.ini
Quote:
vi /usr/local/lib/php.ini
Search for string "extension" and add the following line :

Quote:
extension="apc.so"
6) Restart web server

Quote:
service httpd stop
service httpd start
7) Verify the APC module by creating phpinfo file under any domain

Quote:
vi phpinfo.php
Insert the following code in it

Quote:
<? phpinfo() ?>
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
Reply With Quote

  #2 (permalink)  
Old 03-06-10, 11:05 AM
Sales Team
 
Join Date: Sep 2006
Posts: 1,664
Send a message via MSN to Harry Send a message via Skype™ to Harry
Default

That's great Alec Thanks for sharing !

What is APC ?
"APC is a free, open, and robust framework for caching and optimizing PHP intermediate code."
It's an alternative PHP cache having same functionality of ioncube/memcache/eaccelerator
__________________
UK VPS Hosting || Managed Server Hosting || Reseller Hosting
Webhosting affiliate program can make you earn upto £300 Webhosting UK Affiliate
Join our "Refer and Win" contest and win FREE Hosting package and Domain name
Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 01:13 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Copyright 2001-2010 Web Hosting UK. All rights reserved.
Web Hosting UK Forum





Site Map

Shared Cloud
Shared Cloud From £1

Affiliate Program
Earn up to £300 Per Sale

Dedicated Servers
Dedicated Server Hosting

Cloud Hosting
Cloud Server Hosting

Load Balanced Server
Load Balancing Server

VPS Hosting
Linux VPS Hosting

Windows VPS
Windows 2003 VPS

Zimbra Hosting
Zimbra Email Hosting

cPanel Hosting
Shared Linux Hosting

Windows Hosting
Shared Windows Hosting

Coldfusion Hosting
Windows Coldfusion Hosting

cPanel Reseller Hosting
Reseller Hosting

Windows Reseller
Windows Reseller Hosting

Email Web Hosting
Email Hosting

Semi-Dedicated Server
Semi-Dedicated Hosting

Remote Backup Plans
Offsite Backup Service


cpanel hosting
Knowledgebase Articles

Pre-Sales Question
Web Hosting FAQ's

Dedicated Hosting
Dedicated Server FAQ's

Virtual Private Servers
VPS Hosting

PHP MySQL Hosting
cPanel Hosting

Windows Hosting
ASP MSSQL Hosting

Domain Name
Domain registration FAQ's

CMS Hosting
CMS Hosting FAQ's

Payment Gateways
Payment FAQ's


Support Tutorials

cPanel Tutorials
cPanel Flash Tutorials

Wordpress Tutorials
Wordpress Flash Tutorials

Plesk Tutorials
Plesk Flash Tutorials

PhpMyadmin Tutorials
PhpMyadmin Flash Tutorials

Drupal Tutorials
Drupal Flash Tutorials

Mambo Tutorials
Mambo Flash Tutorials

Joomla Tutorials
Joomla Flash Tutorials

More Hosting Tutorials