APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which could speed up a database-driven site several times. Every time a PHP page is opened, the script pulls the content that should be displayed from a database, parses and compiles the program code, and the result is shown to the visitor. While this is necessary for websites with constantly changing content, it's a total waste of processing time and system resources for a site that does not change, for instance an informational portal which shows the exact same content on a regular basis. Once the pages for such a website are compiled, APC caches them and delivers them whenever a user accesses them. Since this saves the time to collect content from the database and to parse and compile the program code, your Internet site will load much faster. APC is really helpful particularly for scripts with large source code.
APC (PHP Opcode Cache) in Shared Hosting
You'll be able to employ APC for your web apps with any of the shared hosting packages that we offer as it's pre-installed on our cloud website hosting platform. Activating it will take just a single click inside the Hepsia Control Panel that is provided with our shared plans and a couple of minutes later it will begin caching the program code of your apps. Our platform is rather flexible, so you will be able to use several configurations in accordance with the system requirements of your scripts. For example, you could activate APC for a couple of releases of PHP for the whole account and choose the version that each site can use, or you can have the very same version of PHP, but activate or deactivate APC just for specific Internet sites. You can do this by putting a php.ini file with a line of program code within the domain or subdomain folder where you need the custom configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for each script application which runs on your new semi-dedicated server as the module is already installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the whole account requires a click from the Hepsia Control Panel, but if necessary, you could use the module just for specific websites. This is possible on account of the versatility of our cloud platform - different versions of PHP run on it at the same time, so with a php.ini file placed in a website folder, you will be able to choose what release will be used for this particular Internet site and whether APC has to be enabled or disabled. Employing such a file allows you to use settings which are different from the standard ones for the account, so you could take advantage of APC for a lot of scripts where the module will make a difference and not for others where you can take advantage of a different kind of web accelerator.