APC (PHP Opcode Cache)
Find out what the phrase ‘APC’ is short for, everything that APC is able to do PHP efficiency-wise and approaches to enable it for your account.
APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a script app, which can boost a database-driven site several times. Each time a PHP webpage is accessed, the script pulls the website content that needs to be shown from a database, parses and compiles the code, then the result is displayed to the visitor. While this is necessary for websites with frequently changing content, it is a waste of processing time and system resources for an Internet site which does not change, for example an informational portal that displays identical content on a regular basis. When the webpages for such an Internet site are compiled, APC caches them and delivers them whenever a visitor loads them. Since this saves the time to get content from the database and to parse and compile the code, your Internet site will load a lot quicker. APC is very efficient particularly for scripts with large source code.
-
APC (PHP Opcode Cache) in Cloud Hosting
APC is pre-installed on our advanced cloud platform, so you'll be able to use it for your web applications regardless of the cloud hosting solution that you pick when you sign up. The module can be enabled through the Hepsia internet hosting Control Panel which is used to handle the shared accounts and only a few minutes later it'll boost your Internet sites since it'll begin caching their program code. If you want to run Internet sites with various system requirements or use different web accelerators for any of them, you will be able to customize the software environment by putting a php.ini file inside the preferred domain folder. This way, you could enable or disable APC not only for a specific website without affecting the other websites in the account, but also for a particular version of PHP as our platform supports multiple versions simultaneously.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take full advantage of APC with all our
semi-dedicated hosting plans and activating the framework is performed with a click in the Hepsia Control Panel, so even if you have no prior experience, you could use it in order to accelerate your Internet 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'll be able to use. 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 inside the domain/subdomain folders where you need settings that 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 should be enabled or not. This way, one Internet site may use APC and PHP 5.3, for example, while another one can use some other accelerator and PHP 5.5.