APC (PHP Opcode Cache)
What does the abbreviation 'APC' mean? Just why is the presence of APC inside your account important as far as your PHP-based web sites are involved? How can you enable this feature?
APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, that can speed up a database-driven Internet site several times. When a PHP webpage is opened, the script pulls the website content which should be loaded from a database, parses and compiles the program code, then the result is displayed to the website visitor. While this is necessary for sites with constantly changing content, it's a total waste of processing time and resources for a website that doesn't change, for instance an informational portal which displays the very same content on a regular basis. Once the web pages for such an Internet site are compiled, APC caches them and delivers them whenever a user opens them. As this saves the time to get content from the database and to parse and compile the program code, the website will load a lot quicker. APC is really efficient particularly for scripts with larger source code.
APC (PHP Opcode Cache) in Hosting
You'll be able to use APC for your web apps with all of the hosting
plans that we offer as it's pre-installed on our cloud website hosting platform. Turning it on will take just a click inside the Hepsia Control Panel which comes with our shared solutions and a couple of minutes later it will start caching the code of your applications. Our platform is rather flexible, so you'll be able to use several configurations in accordance with the system requirements of your scripts. For example, you'll be able to activate APC for several versions 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 only for particular Internet sites. This is done by putting a php.ini file with a line of program code in the domain or subdomain folder where you require the custom configuration.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You will be able to use APC for every single script application which is run on your new semi-dedicated hosting
since the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the account requires one click from the Hepsia Control Panel, but if necessary, you can use the module just for particular websites. This is possible as a result of the flexibility of our cloud platform - multiple releases 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 select what version will be used for this particular website and whether APC needs to be enabled or disabled. Using such a file enables you to use settings which are different from the standard ones for your 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 could employ some other type of web accelerator.