APC (PHP Opcode Cache)
What does the abbreviation 'APC' signify? Why is the existence of APC inside your account important as far as your PHP-based sites are concerned? How to enable this feature?
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP sites store their content within a database which is accessed whenever a visitor opens a webpage. The content which should be viewed is retrieved and the code is parsed and compiled before it's delivered to the visitor. All these actions take some processing time and involve reading and writing on the web server for each and every page that is opened. While this cannot be avoided for websites with constantly changing content, there are many sites which present the very same content on a number of of their pages all the time - blogs, info portals, hotel and restaurant Internet sites, and many others. APC is really useful for this type of sites since it caches the already compiled code and displays it every time visitors browse the cached webpages, so the code doesn't need to be parsed and compiled again. This will not only greatly reduce the server load, but it will also raise the speed of any Internet site a few times.
-
APC (PHP Opcode Cache) in Cloud Website Hosting
You can use APC with every single
cloud website hosting package that we offer as it is already installed on our advanced cloud platform and activating it will take you just a few clicks in your Hepsia Control Panel. Since our system is really flexible, you'll be able to run sites with various system requirements and decide whether they will work with APC or not. For example, you could allow APC only for one release of PHP or you can do this for several of the releases that run on our platform. In addition, you can decide if all sites working with a certain PHP version will use APC or whether the latter will be active just for selected websites and not for all websites in the website hosting account. The last option is useful when you wish to employ a different web accelerator for some of your Internet sites. These customizations are performed without difficulty through a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is set up on the state-of-the-art cloud web hosting platform where all
semi-dedicated server accounts are made, so you will be able to use it whatever the plan you pick. Activating the module is done through the Hepsia Control Panel and takes only a click, so you won't need any skills or previous experience in order to take full advantage of it. Since you'll be able to work with different versions of PHP simultaneously, you could customize the software environment for each site you host in the account if necessary. A php.ini file with a few lines in it placed in a domain folder will enable you to set what version of PHP this site will use and whether APC needs to be on or off for it. These settings will have priority over the ones for the account as a whole, so you could run various scripts and employ various web accelerators for sites which are in the same account.