APC (PHP Opcode Cache)
Learn what the phrase ‘APC’ is short for, just what exactly APC is capable of doing PHP effectiveness-wise and the ways 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 could speed up a database-driven website several times. When a PHP webpage is opened, the script pulls the website content that should be shown from a database, parses and compiles the code, then the result is displayed to the website visitor. While this is necessary for websites with frequently changing content, it's a total waste of processing time and system resources for a website that doesn't change, for example an informational portal that displays the very same content on a regular basis. When the pages for such a website are compiled, APC caches them and delivers them any time a user loads them. As this saves the time to collect content from the database and to parse and compile the code, the Internet site will load a lot faster. APC is really helpful especially for scripts with larger source code.
-
APC (PHP Opcode Cache) in Shared Website Hosting
APC is pre-installed on our state-of-the-art cloud platform, so you will be able to use it for your web applications irrespective of the
shared website hosting solution that you choose when you register. The module can be activated from your Hepsia internet hosting Control Panel that is used to manage the shared accounts and just several minutes later it will boost your Internet sites since it will begin caching their program code. In case you wish to run Internet sites with various system requirements or take advantage of specific web accelerators for any of them, you'll be able to customize the software environment by placing a php.ini file in the preferred domain folder. In this way, you could enable or disable APC not just for a certain website without affecting the remaining websites in the account, but also for a certain version of PHP as our platform is compatible with multiple versions simultaneously.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You can take full advantage of APC with all of our
semi-dedicated hosting solutions and activating this framework is performed with a click from the Hepsia Control Panel, so even when you have no prior experience, you can use it to accelerate your sites. As the cloud internet hosting platform where the semi-dedicated accounts are created supports multiple PHP versions, you will have flexibility regarding the scripts and web accelerators you'll be able to employ. It will take you only a click to allow APC for one or a couple of PHP versions 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 in general, you can set what PHP release will be used and whether APC has to be enabled or not. In this way, one site can use APC and PHP 5.3, for example, and another one may use a different accelerator and PHP 5.5.