Alternative PHP Cache, or APC, is a module for Apache servers which is used to cache the output code of script apps. It is very useful for scripts with large source code and will accelerate such an Internet site as much as 3 times. PHP websites are dynamic and every time a website visitor accesses a page, the script connects to a database to get some content, then the code is parsed and compiled before it is displayed to the guest. In case the output code doesn't change however, which is the case with sites that show the very same content all the time, these actions trigger unnecessary reading and writing. What APC does is that it caches the already compiled code and delivers it whenever visitors browse a site, so the database doesn't have to be accessed and the code does not have to be parsed and compiled repeatedly, which consequently decreases the Internet site loading time. The module can be very useful for informational websites, blogs, portfolios, etc.
APC (PHP Opcode Cache) in Web Hosting
You will be able to employ APC for your web applications with all of the web hosting
packages that we offer as it is pre-installed on our cloud website hosting platform. Enabling it will take only a mouse click in the Hepsia Control Panel that comes with our shared plans and several minutes later it will start caching the code of your applications. Our platform is very flexible, so you'll be able to use several configurations depending on the system requirements of the scripts. For example, 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 activate or deactivate APC only for particular websites. You can do this by putting a php.ini file with a line of code in the domain or subdomain folder where you require the customized setup.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You will be able to use APC for each and every script application which is run on your new semi-dedicated hosting
as the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the entire account takes one click from the Hepsia Control Panel, but if needed, you can use the module just for particular websites. This is possible due to the versatility of our cloud platform - multiple 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 specific website and whether APC needs to be enabled or disabled. Employing such a file permits you to use settings that are different from the standard ones for the account, so you could take full advantage of APC for some scripts where the module makes a difference and not for others where you can use a different type of web accelerator.