APC (PHP Opcode Cache)
What exactly does the abbreviation 'APC' mean? Why is the existence of APC inside your account essential as far as your PHP-based web sites are involved? How to turn on this option?
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script applications. Dynamic PHP websites store their content inside a database which is accessed whenever a visitor opens a page. The content that has to be displayed is retrieved and the code is parsed and compiled before it is delivered to the visitor. These actions need some processing time and require reading and writing on the web server for each and every page which is loaded. While this can't be avoided for websites with constantly changing content material, there're various websites which feature the exact same content on a lot of of their pages at all times - blogs, info portals, hotel and restaurant websites, etcetera. APC is extremely useful for this type of websites because it caches the already compiled code and shows it any time visitors browse the cached pages, so the code does not have to be parsed and compiled all over again. This will not only lower the server load, but it will also raise the speed of any Internet site many times.
-
APC (PHP Opcode Cache) in Cloud Website Hosting
APC is pre-installed on our outstanding cloud platform, therefore you can use it for your applications whatever the
cloud website hosting solution that you pick when you sign up. The module can be enabled from your Hepsia web hosting Control Panel that is used to take care of the shared accounts and just a couple of minutes later it will boost your websites since it'll begin caching their code. If you want to run sites with different system requirements or take advantage of different web accelerators for some of them, you'll be able to customize the software environment by placing a php.ini file inside the desired domain folder. Thus, you can enable or disable APC not just for a specific Internet site without affecting the remaining sites in the account, but also for a certain version of PHP as our platform supports multiple versions at the same time.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
You will be able to use APC for every single script application which is run on your new
semi-dedicated server as the module is already installed on the cloud hosting platform where the account will be made. Activating or deactivating APC for the whole account takes a click in the Hepsia Control Panel, but if necessary, you can use the module only for specific websites. This is possible because of the versatility of our cloud platform - different releases of PHP run on it concurrently, so with a php.ini file placed in a website folder, you'll be able to pick what version will be used for this particular website and whether APC needs to be enabled or disabled. Employing such a file enables you to use settings which are different from the standard ones for the account, so you could take full advantage of APC for many scripts where the module will make a difference and not for others where you could use a different type of web accelerator.