APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which can speed up a database-driven Internet site several times. When a PHP page is accessed, the script pulls the content that should be displayed from a database, parses and compiles the code, then the result is shown to the website visitor. While this is necessary for websites with constantly changing content, it is a waste of processing time and system resources for a website that does not change, for instance an informational portal which shows the very same content on a regular basis. As soon as the web pages for such an Internet site are compiled, APC caches them and delivers them every time a visitor accesses them. Since this saves the time to collect content from the database and to parse and compile the code, the site will load significantly faster. APC is very useful especially for scripts with large source code.
APC (PHP Opcode Cache) in Cloud Website Hosting
You can use APC with every single cloud website hosting package that we provide since it is already installed on our advanced cloud platform and activating it will take you just a few clicks inside your Hepsia Control Panel. As our platform is quite flexible, you can run websites with various system requirements and decide whether they will work with APC or not. For example, you can activate APC only for a single version of PHP or you can do the latter for several of the versions 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 only for selected Internet sites and not for all Internet sites in the website hosting account. The aforementioned option is useful when you'd like to employ a different web accelerator for several of your sites. These customizations are done with ease via a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC with our semi-dedicated server solutions and activating the framework is performed with a mouse click inside the Hepsia Control Panel, so even when you have no previous experience, you will be able to use it to boost your websites. As the cloud hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP releases, you will have flexibility regarding the scripts and web accelerators you could employ. It will take you just a click to activate APC for one or several PHP versions and by using a php.ini file in the domain/subdomain folders where you need settings which are different from the ones for the account as a whole, you can set what PHP release will be used and whether APC has to be allowed or not. In this way, one Internet site could use APC and PHP 5.3, for example, whereas another one can use some different accelerator and PHP 5.5.