APC, which is an acronym 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 site several times. Every time a PHP webpage is opened, the script pulls the site content which should be displayed from a database, parses and compiles the program code, and then the result is shown to the website visitor. While this is necessary for websites with constantly changing content, it is a complete waste of processing time and system resources for a website that doesn't change, for example an informational portal which displays the exact same content on a regular basis. When the webpages for such an Internet site are compiled, APC caches them and delivers them any time a website visitor opens them. Since this saves the time to get content from the database and to parse and compile the program code, your website will load a lot faster. APC is really helpful particularly for scripts with large source code.
APC (PHP Opcode Cache) in Website Hosting
APC is provided with each and every website hosting package that we offer and you can enable it with just a click from your Hepsia Control Panel if you would like to use it for your web applications. A couple of minutes later the framework will be working and you'll experience the considerably faster loading speed of your database-driven Internet sites. Since we offer different releases of PHP that can also be selected from Hepsia, you will even be able to use APC for scripts that require different versions of PHP in the same account. Our next generation cloud hosting platform is very flexible, so if you use another web accelerator for any Internet site and it disturbs APC, you will be able to activate or deactivate the aforementioned for a certain site only by using a php.ini file generated in the domain or subdomain folder.
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 since the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account takes a single click inside the Hepsia Control Panel, but if necessary, you could use the module just for specific sites. This is possible due to the flexibility of our cloud platform - several versions of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you will be able to pick what version will be used for this specific site and whether APC should be enabled or disabled. Employing such a file allows you to use settings that are different from the standard ones for the account, so you can take full advantage of APC for some scripts where the module can make a difference and not for others where you can use some other kind of web accelerator.