APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that could speed up a database-driven website several times. Any time a PHP page is accessed, the script pulls the content which has to be loaded from a database, parses and compiles the code, and then the result is shown to the visitor. While this is necessary for Internet sites with routinely changing content, it's a complete waste of processing time and system resources for a website which does not change, like an informational portal which displays the same content all the time. Once the web pages for such a site are compiled, APC caches them and delivers them each time a visitor opens them. As this saves the time to collect content from the database and to parse and compile the program code, the website will load a lot quicker. APC is really helpful in particular for scripts with massive source code.

APC (PHP Opcode Cache) in Website Hosting

APC is pre-installed on our state-of-the-art cloud platform, so you can use it for your web applications irrespective of the website hosting package that you choose when you sign up. The module can be activated from the Hepsia internet hosting Control Panel that is used to maintain the shared accounts and just a few minutes later it'll boost your sites because it'll begin caching their program code. If you wish to run Internet sites with various system requirements or take advantage of different web accelerators for any of them, you can customize the software environment by placing a php.ini file in the desired domain folder. This way, you can enable or disable APC not only for a particular site without affecting the remaining sites in the account, but also for a specific version of PHP as our platform supports multiple versions simultaneously.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC for each and every script application that is run on your new semi-dedicated hosting since the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account takes a click in the Hepsia Control Panel, but if necessary, you could use the module just for specific sites. This is possible on account of the flexibility of our cloud platform - different releases of PHP run on it concurrently, so with a php.ini file placed in a website folder, you can pick what version will be used for this particular site and whether APC has to be enabled or disabled. Using such a file permits you to use settings which are different from the standard ones for the account, so you can take advantage of APC for some scripts where the module makes a difference and not for others where you could use a different kind of web accelerator.