APC (PHP Opcode Cache)
Learn what the abbreviation ‘APC’ means, exactly what APC can do PHP overall performance-wise and the way to activate it for your account.
APC, or Alternative PHP Cache, is a PHP module which caches the output code of database-driven script apps. Dynamic PHP websites keep their content within a database which is accessed whenever a visitor loads a page. The content that should be viewed is retrieved and the code is parsed and compiled before it's delivered to the visitor. All these actions take some processing time and include reading and writing on the hosting server for each page that is loaded. While this cannot be avoided for sites with constantly changing content, there are a lot of Internet sites which have the same content on many of their pages constantly - blogs, informational portals, hotel and restaurant sites, etc. APC is exceptionally useful for this kind of Internet sites because it caches the already compiled code and displays it any time visitors browse the cached webpages, so the code doesn't need to be parsed and compiled again. This will not only reduce the server load, but it will also raise the speed of any Internet site many times.
-
APC (PHP Opcode Cache) in Shared Hosting
APC is pre-installed on our outstanding cloud platform, which means that you can use it for your applications irrespective of the
shared hosting solution that you select when you register. The module can be enabled from the Hepsia internet hosting Control Panel that is used to handle the shared accounts and only a few minutes later it will speed up your Internet sites since it will start caching their code. In case you would like to run websites with various system requirements or use specific web accelerators for some of them, you'll be able to customize the software environment by putting a php.ini file in the desired domain folder. In this way, you could enable or disable APC not only for a specific site without affecting the remaining sites 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 Servers
APC is available with all
semi-dedicated server packages as it is pre-installed on the cloud website hosting platform where your account shall be created. In case you'd like to use this module, you will be able to enable it with just a single click inside your Hepsia Control Panel and it will be fully operational within a few minutes. As you may want to use alternative web accelerators for selected Internet sites, our advanced platform will enable you to customize the software environment in your account. You'll be able to activate APC for different versions of PHP or use it only for some websites and not for others. For example, a Drupal
™-based site could work with APC employing PHP 5.4 and a WordPress site could work without APC using PHP 5.6. All it takes to do that is a php.ini file with a few lines in it, so you'll be able to run websites with different requirements from the same account.