APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which could speed up a database-driven Internet site several times. Any time a PHP web page is opened, the script pulls the site content which needs to be shown from a database, parses and compiles the program code, and the result is shown to the website visitor. While this is necessary for Internet sites with constantly changing content, it's a waste of processing time and resources for a website which doesn't change, for instance an informational portal which shows the very same content all the time. As soon as the pages for such an Internet site are compiled, APC caches them and delivers them any time a user opens them. As this saves the time to obtain content from the database and to parse and compile the code, your website will load significantly quicker. APC is really helpful particularly for scripts with massive source code.
APC (PHP Opcode Cache) in Cloud Hosting
You'll be able to employ APC for your web apps with any of the cloud hosting plans that we offer because it's pre-installed on our cloud web hosting platform. Enabling it will take just a mouse click in the Hepsia Control Panel which is provided with our shared plans and a few minutes later it will start caching the code of your software apps. Our platform is quite flexible, so you'll be able to use different configurations based on the system requirements of the scripts. For instance, you can activate APC for a couple of releases of PHP for the whole account and set the version that each website can use, or you could have the exact same version of PHP, but activate or deactivate APC just for specified sites. This is done by putting a php.ini file with a line of code inside the domain or subdomain folder where you need the custom configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take full advantage of APC with all our semi-dedicated server solutions and activating this framework is done with a mouse click from the Hepsia Control Panel, so even when you have no prior experience, you will be able to use it to speed up your sites. As the cloud hosting platform where the semi-dedicated accounts are set up supports multiple PHP releases, you will have flexibility regarding the scripts and web accelerators you could employ. It will take you only a click to allow APC for one or a couple of PHP releases and by using a php.ini file in the domain/subdomain folders where you need settings that are different from the ones for the account in general, you can set what PHP release will be used and whether APC has to be allowed or not. In this way, one website could use APC and PHP 5.3, for instance, whereas another one could use some other accelerator and PHP 5.5.