APC (PHP Opcode Cache)
Find out what the phrase ‘APC’ represents, what exactly APC can do PHP efficiency-wise and the ways to activate it for your account.
APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, that can speed up a database-driven website several times. Each time a PHP webpage is opened, the script pulls the site content which should be displayed from a database, parses and compiles the program code, then the result is shown to the website visitor. While this is necessary for Internet sites with frequently changing content, it's a waste of processing time and system resources for a website which doesn't change, like an informational portal which shows the same content on a regular basis. When the pages for such a site are compiled, APC caches them and delivers them any time a website visitor loads them. Since this saves the time to collect content from the database and to parse and compile the code, your Internet site will load much quicker. APC is really efficient particularly for scripts with larger source code.
-
APC (PHP Opcode Cache) in Website Hosting
APC is pre-installed on our leading-edge cloud platform, therefore you can use it for your web applications whatever the
website hosting package that you pick when you sign up. The module can be activated through the Hepsia hosting Control Panel that is used to take care of the shared accounts and just a few minutes later it will speed up your sites since it will start caching their code. If you wish to run Internet sites with various system requirements or use specific web accelerators for any of them, you can customize the software environment by placing a php.ini file inside the preferred domain folder. This way, you could enable or disable APC not only for a particular Internet site without affecting the other sites in the account, but also for a certain version of PHP since our platform is compatible with multiple versions simultaneously.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take advantage of 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 if you have no prior experience, you can use it in order to boost 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 could 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 inside 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. This way, one website may use APC and PHP 5.3, for instance, while another one can use some different accelerator and PHP 5.5.