APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which can boost a database-driven Internet site several times. Each time a PHP webpage is accessed, the script pulls the website content that needs to be displayed from a database, parses and compiles the code, and then the result is shown to the website visitor. While this is necessary for Internet sites with frequently changing content, it is a total waste of processing time and system resources for a site that doesn't change, like an informational portal which shows the exact same content all the time. As soon as the webpages for such an Internet site are compiled, APC caches them and delivers them whenever a user accesses them. As this saves the time to obtain content from the database and to parse and compile the code, the website will load a lot faster. APC is very useful especially for scripts with massive source code.

APC (PHP Opcode Cache) in Website Hosting

You'll be able to use APC for your web applications with all of the website hosting packages that we offer as it is pre-installed on our cloud website hosting platform. Turning it on will take only a mouse click in the Hepsia Control Panel which comes with our shared plans and a couple of minutes later it will begin caching the program code of your applications. Our platform is rather flexible, so you'll be able to use several configurations determined by the system requirements of your scripts. For example, you'll be able to activate APC for a couple of releases of PHP for the whole account and select the version that each website will use, or you could have the very same version of PHP, but enable or disable APC just for specified websites. This is done by putting a php.ini file with a line of code in the domain or subdomain folder where you require the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You will be able to use APC for each script application which runs on your new semi-dedicated hosting as the module is pre-installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account takes one click from the Hepsia Control Panel, but if necessary, you can use the module just for certain sites. This is possible on account of the versatility of our cloud platform - multiple versions of PHP run on it at the same time, so with a php.ini file placed in a site folder, you can select what release will be used for this specific site and whether APC needs to be enabled or disabled. Using such a file permits you to use settings that are different from the ones for the account, so you'll be able to take advantage of APC for many scripts where the module will make a difference and not for others where you may use another type of web accelerator.