APC (PHP Opcode Cache)
What exactly does the abbreviation 'APC' mean? Why is the presence of APC inside your account essential as far as your PHP-based sites are involved? How to activate this feature?
APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which could boost a database-driven website several times. Each time a PHP webpage is opened, the script pulls the site content that needs to be displayed from a database, parses and compiles the code, then the result is displayed to the website visitor. While this is necessary for sites with regularly changing content, it's a total waste of processing time and resources for an Internet site which does not change, like an informational portal which displays identical content at all times. As soon as the webpages for such a site are compiled, APC caches them and delivers them any time a website visitor opens them. Since this saves the time to obtain content from the database and to parse and compile the code, the Internet site will load a lot quicker. APC is really useful particularly for scripts with larger source code.
-
APC (PHP Opcode Cache) in Shared Website Hosting
APC is pre-installed on our next generation cloud platform, therefore you will be able to use it for your web applications whatever the
shared website hosting solution that you choose when you register. The module can be enabled from the Hepsia hosting Control Panel which is used to take care of the shared accounts and only several minutes later it will boost your Internet sites since it'll start caching their code. In case you need to run websites with different system requirements or employ different web accelerators for some of them, you will be able to customize the software environment by placing a php.ini file in the desired domain folder. This way, you could enable or disable APC not just for a specific website without affecting the other sites in the account, but also for a specific version of PHP since our platform is compatible with multiple versions at the same time.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC with all of our
semi-dedicated server solutions and activating this framework is done with a mouse click inside the Hepsia Control Panel, so even when you have no previous experience, you'll be able to use it to quicken your sites. As the cloud hosting platform where the semi-dedicated accounts are set up supports multiple PHP releases, you'll have freedom with regards to the scripts and web accelerators you'll be able to employ. It will take you only 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 that are not the same as the ones for the account as a whole, you can set what PHP release will be used and whether APC needs to be enabled or not. This way, one site can use APC and PHP 5.3, for instance, whereas another one may use some different accelerator and PHP 5.5.