APC (PHP Opcode Cache)
Find what the phrase ‘APC’ represents, what APC is able to do PHP efficiency-wise and how to activate it for your account.
APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, which could boost a database-driven site several times. Every time a PHP web page is opened, the script pulls the content that should be shown from a database, parses and compiles the program code, then the result is displayed to the website visitor. While this is necessary for sites with regularly changing content, it's a complete waste of processing time and system resources for a website which does not change, for example an informational portal which displays the same content on a regular basis. Once the webpages for such a site are compiled, APC caches them and delivers them any time a visitor loads them. As this saves the time to request content from the database and to parse and compile the code, your website will load considerably faster. APC is really helpful especially for scripts with large source code.
-
APC (PHP Opcode Cache) in Shared Web Hosting
APC is pre-installed on our state-of-the-art cloud platform, so you'll be able to use it for your applications regardless of the
shared web hosting package that you select when you register. The module can be enabled from your Hepsia web hosting Control Panel which is used to take care of the shared accounts and just a few minutes later it will speed up your websites because it will begin caching their code. In case you would like to run Internet sites with various system requirements or employ specific web accelerators for any of them, you can customize the software environment by placing a php.ini file in the desired domain folder. In this way, you can enable or disable APC not only for a certain site without affecting the remaining sites in the account, but also for a particular version of PHP because our platform is compatible with multiple versions simultaneously.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can take full advantage of APC with all our
semi-dedicated server plans and activating the framework is performed with a click inside the Hepsia Control Panel, so even when you lack previous experience, you'll be able to use it in order to accelerate your Internet sites. As the cloud hosting platform where the semi-dedicated accounts are created is compatible with multiple PHP releases, you'll have freedom regarding the scripts and web accelerators you will be able to use. It will take you only a click to allow APC for one or several 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 as a whole, you can set what PHP release will be used and whether APC has to be enabled or not. In this way, one Internet site could use APC and PHP 5.3, for instance, while another one can use some different accelerator and PHP 5.5.