APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can speed up a database-driven website several times. When a PHP page is accessed, the script pulls the website content that needs to be displayed from a database, parses and compiles the code, and then the result is displayed to the visitor. While this is necessary for websites with routinely changing content, it's a waste of processing time and system resources for a site that does not change, for instance an informational portal that shows identical content on a regular basis. Once the pages for such a website are compiled, APC caches them and delivers them every time a website visitor opens them. Since this saves the time to collect content from the database and to parse and compile the code, your Internet site will load a lot quicker. APC is very useful particularly for scripts with larger source code.
APC (PHP Opcode Cache) in Cloud Hosting
You'll be able to use APC for your web apps with all of the cloud hosting
packages that we offer because it's pre-installed on our cloud website hosting platform. Activating it will take just a single click in the Hepsia Control Panel that comes with our shared plans and several minutes later it'll begin caching the code of your software apps. Our platform is quite flexible, so you will be able to use different configurations based on the system requirements of the scripts. For example, you'll be able to activate APC for a couple of releases of PHP for the entire account and set the version that each Internet site can use, or you could have the exact same version of PHP, but activate or deactivate APC just for particular Internet sites. This is done by placing a php.ini file with a line of code within the domain or subdomain folder where you need the customized setup.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC with our semi-dedicated server
solutions and activating the framework is done with a click inside the Hepsia Control Panel, so even if you have no previous experience, you'll be able to use it in order to speed up your Internet sites. As the cloud internet hosting platform where the semi-dedicated accounts are set up is compatible with multiple PHP versions, you will have freedom regarding the scripts and web accelerators you can use. It will take you just a click to enable 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 which are different from the ones for the account as a whole, you will be able to set what PHP version will be used and whether APC has to be enabled or not. In this way, one website could use APC and PHP 5.3, for instance, and another one may use a different accelerator and PHP 5.5.