APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which can speed up a database-driven site several times. Each time a PHP webpage is accessed, the script pulls the site content which has to be loaded from a database, parses and compiles the program code, and the result is shown to the website visitor. While this is necessary for Internet sites with constantly changing content, it's a waste of processing time and resources for an Internet site that doesn't change, such as an informational portal that shows the same content all the time. When the webpages for such a site are compiled, APC caches them and delivers them each time a user accesses them. As this saves the time to collect content from the database and to parse and compile the program code, the website will load considerably quicker. APC is really helpful particularly for scripts with larger source code.

APC (PHP Opcode Cache) in Shared Hosting

APC is provided with each and every shared hosting solution that we offer and you could activate it with just a click through your Hepsia Control Panel if you would like to use it for your web apps. A couple of minutes later the framework will be working and you'll notice the faster loading speed of your database-driven websites. Since we offer several releases of PHP that can also be selected from Hepsia, you will even be able to employ APC for scripts which require different versions of PHP in the same account. Our leading-edge cloud web hosting platform is extremely flexible, so in case you use some other web accelerator for any website and it disturbs APC, you could activate or deactivate the aforementioned for a selected site only by using a php.ini file generated in the domain or subdomain folder.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You’ll be able to use APC for each 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 created. Activating or deactivating APC for the account takes one click from the Hepsia Control Panel, but if needed, you can use the module just for certain Internet sites. This is possible on account of the flexibility of our cloud platform - several versions of PHP run on it at the same time, so with a php.ini file placed in a website folder, you can choose what release will be used for this particular website and whether APC needs to be enabled or disabled. Employing such a file enables you to use settings which are different from the ones for the account, so you'll be able to take advantage of APC for a lot of scripts where the module can make a difference and not for others where you can take advantage of some other kind of web accelerator.