APC (PHP Opcode Cache)
Find out what APC (PHP Opcode Cache) is and how it could influence the PHP performance within your website hosting account.
APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, which could boost a database-driven Internet site several times. When a PHP webpage is opened, the script pulls the website content that has to be shown from a database, parses and compiles the code, then the result is shown to the website visitor. While this is necessary for sites with regularly changing content, it's a waste of processing time and resources for a website that doesn't change, such as an informational portal which displays the same content all the time. When the webpages for such an Internet site are compiled, APC caches them and delivers them each time a visitor loads them. Since this saves the time to collect content from the database and to parse and compile the program code, the website will load considerably faster. APC is very effective especially for scripts with large source code.
APC (PHP Opcode Cache) in Shared Hosting
You can use APC with each shared hosting
package that we provide because it is already present on our advanced cloud platform and activating it will take you only a couple of clicks inside your Hepsia Control Panel. Since our system is quite flexible, you'll be able to run Internet sites with various system requirements and decide whether they will work with APC or not. For instance, you can allow APC only for a single version of PHP or you can do this for several of the versions that run on our platform. In addition, you can decide if all Internet sites working with a specific PHP version will use APC or whether the latter will be active only for selected websites and not for all websites in the website hosting account. The last option is useful if you'd like to employ a different web accelerator for several of your websites. These customizations are done effortlessly through a php.ini file in selected domain or subdomain folders.
APC (PHP Opcode Cache) in Semi-dedicated Hosting
APC is installed on the state-of-the-art cloud hosting platform where all semi-dedicated hosting
accounts are created, so you could use it whatever the plan you choose. Enabling the module is done through the Hepsia Control Panel and takes just a mouse click, so you will not need any skills or prior experience in order to take full advantage of it. Since you'll be able to work with several versions of PHP simultaneously, you will be able to customize the software environment for each and every site which you host in the account if necessary. A php.ini file with a couple of lines in it placed in a domain folder will enable you to set what version of PHP this site will use and if APC needs to be on or off for it. These settings will have priority over those for the account in general, so you could run different scripts and employ different web accelerators for websites which are in the same account.