APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which could boost a database-driven website several times. Each time a PHP page is accessed, the script pulls the content that should be shown from a database, parses and compiles the program code, then the result is shown to the visitor. While this is necessary for Internet sites with frequently changing content, it's a total waste of processing time and resources for an Internet site which doesn't change, such as an informational portal which shows the exact same content all the time. Once the web pages for such a site are compiled, APC caches them and delivers them every time a visitor accesses them. Since this saves the time to request content from the database and to parse and compile the code, the site will load significantly faster. APC is very effective particularly for scripts with larger source code.
APC (PHP Opcode Cache) in Website Hosting
You can use APC with each and every website hosting plan that we offer since it's already installed on our advanced cloud platform and activating it will take you just a few clicks in your Hepsia Control Panel. As our platform is really flexible, you will be able to run Internet sites with different requirements and decide if they will work with APC or not. For example, you can enable APC only for a single release of PHP or you could do this for several of the versions that run on the platform. You may also decide if all websites working with a specific PHP version will use APC or if the latter will be enabled just for selected websites and not for all Internet sites in the website hosting account. The aforementioned option is useful when you intend to employ a different web accelerator for some of your sites. These customizations are carried out without any difficulty by using a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You’ll be able to use APC for every script application that 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 whole account requires a single click inside the Hepsia Control Panel, but if needed, you can use the module just for certain Internet sites. This is possible because of the flexibility of our cloud platform - multiple releases of PHP run on it concurrently, so with a php.ini file placed in a site folder, you'll be able to choose what release will be used for this specific website and whether APC needs to be enabled or disabled. Using such a file enables you to use settings that are different from the standard ones for your account, so you can take advantage of APC for many scripts where the module will make a difference and not for others where you may use some other kind of web accelerator.