APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which could speed up a database-driven site several times. Every time a PHP web page is accessed, the script pulls the website content which has 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 sites with frequently changing content, it's a complete waste of processing time and resources for a website that does not change, for instance an informational portal that displays identical content at all times. When the web pages for such a site are compiled, APC caches them and delivers them every time a website visitor opens them. Since this saves the time to request content from the database and to parse and compile the code, the website will load a lot quicker. APC is very efficient particularly for scripts with large source code.

APC (PHP Opcode Cache) in Shared Hosting

You'll be able to use APC for your web apps with any of the shared hosting packages that we offer because it is pre-installed on our cloud web hosting platform. Enabling it will take just a click inside the Hepsia Control Panel that is provided with our shared solutions and a couple of minutes later it'll start caching the program code of your software apps. Our platform is very flexible, so you will be able to use several configurations depending on the system requirements of your scripts. For instance, you could activate APC for a couple of versions of PHP for the whole account and pick the version that each Internet site can use, or you can have the very same version of PHP, but enable or disable APC only for specified Internet sites. You can do this by putting a php.ini file with a line of code inside the domain or subdomain folder where you require the custom configuration.

APC (PHP Opcode Cache) in Semi-dedicated Servers

You’ll be able to 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 created. Activating or deactivating APC for the account takes one click inside the Hepsia Control Panel, but if necessary, you could use the module just for particular Internet sites. This is possible as a result of the flexibility of our cloud platform - different versions of PHP run on it concurrently, so with a php.ini file placed in a site folder, you will be able to choose what release will be used for this particular site and whether APC needs to be enabled or disabled. Using such a file allows you to use settings which are different from the standard ones for your account, so you could take full advantage of APC for some scripts where the module will make a difference and not for others where you may use some other type of web accelerator.