APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can boost a database-driven site several times. When a PHP web page is accessed, the script pulls the website content that needs to be loaded from a database, parses and compiles the code, and the result is displayed to the website visitor. While this is necessary for sites with regularly changing content, it is a waste of processing time and system resources for an Internet site that does not change, for example an informational portal that displays the same content on a regular basis. When the pages for such a website are compiled, APC caches them and delivers them each time a website visitor accesses them. Since this saves the time to obtain content from the database and to parse and compile the code, your Internet site will load much faster. APC is very helpful particularly for scripts with large source code.
APC (PHP Opcode Cache) in Cloud Hosting
You will be able to employ APC for your web applications with any of the cloud hosting
plans that we offer since it's pre-installed on our cloud web hosting platform. Enabling it will take only a mouse click in the Hepsia Control Panel that comes with our shared solutions and a few minutes later it will begin caching the code of your applications. Our platform is extremely flexible, so you will be able to use different configurations determined by the system requirements of the scripts. For example, you'll be able to activate APC for several versions of PHP for the whole account and specify the version that each Internet site can use, or you can have the very same version of PHP, but enable or disable APC only for particular sites. You can do this by putting a php.ini file with a line of code inside the domain or subdomain folder where you require the custom setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for every script application which is run on your new semi-dedicated server
because the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account takes one click in the Hepsia Control Panel, but if necessary, you can use the module just for particular Internet sites. This is possible because of the versatility of our cloud platform - several releases of PHP run on it at the same time, so with a php.ini file placed in a site folder, you'll be able to choose what version will be used for this specific website and whether APC should be enabled or disabled. Employing such a file permits you to use settings which are different from the ones for your account, so you will be able to take advantage of APC for a lot of scripts where the module will make a difference and not for others where you can take advantage of some other type of web accelerator.