APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can speed up a database-driven website several times. Each time a PHP web page is accessed, the script pulls the website content which has to be shown from a database, parses and compiles the program code, and then the result is displayed to the visitor. While this is necessary for websites with routinely changing content, it's a complete waste of processing time and resources for an Internet site that does not change, for example an informational portal which shows the exact same content all the time. As soon as the web pages for such an Internet site are compiled, APC caches them and delivers them any time a visitor accesses them. Since this saves the time to request content from the database and to parse and compile the code, your website will load considerably quicker. APC is very useful in particular for scripts with larger source code.
APC (PHP Opcode Cache) in Web Hosting
APC is pre-installed on our cutting-edge cloud platform, so you will be able to use it for your web applications whatever the web hosting plan that you select when you sign up. The module can be activated from the Hepsia web hosting Control Panel that is used to maintain the shared accounts and only a couple of minutes later it'll speed up your Internet sites because it will start caching their code. If you wish to run sites with different system requirements or take advantage of specific web accelerators for any of them, you could customize the software environment by placing a php.ini file in the preferred domain folder. This way, you could enable or disable APC not just for a particular site without affecting the other websites in the account, but also for a specific version of PHP because our platform is compatible with multiple versions simultaneously.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC for every script application that is run on your new semi-dedicated server because the module is pre-installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the whole account takes a single click inside the Hepsia Control Panel, but if needed, you can use the module only for particular sites. This is possible on account 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 will be able to select what version will be used for this specific website and whether APC should be enabled or disabled. Using such a file permits you to use settings which are different from the ones for your account, so you could take advantage of APC for a lot of scripts where the module makes a difference and not for others where you may take advantage of a different type of web accelerator.