APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which can speed up a database-driven Internet site several times. Each time a PHP webpage is opened, the script pulls the website content which should be loaded from a database, parses and compiles the code, then the result is shown to the visitor. While this is necessary for websites with routinely changing content, it is a waste of processing time and system resources for a website which does not change, such as an informational portal which shows the very same content all the time. Once the pages for such a site are compiled, APC caches them and delivers them any time a website visitor loads them. As this saves the time to obtain content from the database and to parse and compile the program code, the site will load significantly faster. APC is very useful particularly for scripts with larger source code.
APC (PHP Opcode Cache) in Shared Hosting
You'll be able to use APC for your web applications with all of the shared hosting packages that we provide since it's pre-installed on our cloud web hosting platform. Turning it on will take just a click inside the Hepsia Control Panel that is provided with our shared solutions and several minutes later it will start caching the program code of your software apps. Our platform is quite flexible, so you will be able to use several configurations based on the system requirements of your scripts. For instance, you can activate APC for several releases of PHP for the entire account and set the version that each Internet site can use, or you could have the same version of PHP, but activate or deactivate APC just for specific Internet sites. This is done by placing a php.ini file with a line of program code inside the domain or subdomain folder where you require the customized configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC for every script application which runs on your new semi-dedicated server because the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account requires a single click from the Hepsia Control Panel, but if necessary, you can use the module just for particular Internet sites. This is possible due to the versatility 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 can select what release will be used for this specific website and whether APC should be enabled or disabled. Using such a file permits you to use settings which are different from the standard ones for your account, so you'll be able to take full advantage of APC for many scripts where the module will make a difference and not for others where you may take advantage of a different type of web accelerator.