APC (PHP Opcode Cache)
What exactly does the acronym 'APC' mean? Why is the presence of APC in your account important as far as your PHP-based websites are involved? How to enable this feature?
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 efficient for scripts with large source code and can speed up such a site up to 3 times. PHP websites are dynamic and each time a website visitor opens a web page, the script connects to a database in order to get some content, after that the code is parsed and compiled before it's displayed to the visitor. If the output code doesn't change however, that's the case with sites which display the exact same content all of the time, such actions result in excessive reading and writing. What APC does is that it caches the previously compiled program code and delivers it every time visitors browse a website, so the database does not need to be accessed and the code does not need to be parsed and compiled again and again, which consequently decreases the Internet site loading time. The module could be rather helpful for informational sites, blogs, portfolios, etcetera.
-
APC (PHP Opcode Cache) in Shared Website Hosting
You can use APC with each and every
shared website hosting package that we offer as it's already present on our advanced cloud platform and activating it will take you just a couple of clicks inside your Hepsia Control Panel. As our system is quite flexible, you can run sites with various system requirements and decide whether they will use APC or not. For instance, you could allow APC only for one release of PHP or you can do this for several of the releases that run on our platform. It's also possible to decide if all websites working with a particular PHP version will use APC or whether the latter will be active just for selected websites and not for all sites in the website hosting account. The aforementioned option is useful when you need to employ a different web accelerator for several of your websites. These customizations are performed effortlessly by using a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for each script application that runs on your new
semi-dedicated server because the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the entire account takes a single click from the Hepsia Control Panel, but if necessary, you can use the module just for particular websites. This is possible on account of the flexibility of our cloud platform - multiple releases of PHP run on it concurrently, so with a php.ini file placed in a website folder, you will be able to choose what version will be used for this specific website and whether APC should be enabled or disabled. Employing such a file permits you to use settings which are different from the ones for your account, so you could take advantage of APC for many scripts where the module makes a difference and not for others where you could use some other kind of web accelerator.