APC (PHP Opcode Cache)
What exactly does the abbreviation 'APC' imply? Just why is the presence of APC in your account essential as far as your PHP-based websites are involved? How to enable this feature?
APC, which means Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which could speed up a database-driven Internet site several times. Any time a PHP page is accessed, the script pulls the website content that should be displayed from a database, parses and compiles the code, and the result is displayed to the visitor. While this is necessary for sites with constantly changing content, it's a complete waste of processing time and resources for an Internet site which does not change, for instance an informational portal that displays the same content at all times. When the pages for such a site are compiled, APC caches them and delivers them each time a website visitor opens them. As this saves the time to get content from the database and to parse and compile the program code, your Internet site will load a lot faster. APC is really efficient in particular for scripts with larger source code.
-
APC (PHP Opcode Cache) in Shared Web Hosting
You can use APC with every single
shared web hosting plan that we offer since it is already installed on our advanced cloud platform and enabling it will take you only a few clicks in your Hepsia Control Panel. Since our system is rather flexible, you'll be able to run websites with different requirements and decide if they will use APC or not. For instance, you could activate APC only for one version of PHP or you can do this for several of the versions that run on the platform. In addition, you can choose if all websites using a given PHP version will use APC or whether the latter will be active only for selected websites and not for all Internet sites in the web hosting account. The last option is useful if you wish to employ a different web accelerator for some of your websites. These customizations are done without difficulty via a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is set up on the amazing cloud Internet hosting platform where all
semi-dedicated server accounts are created, so you'll be able to employ it whatever the package you select. Enabling the module is done from the Hepsia Control Panel and takes only a mouse click, so you will not need any skills or previous experience in order to take advantage of it. As you'll be able to use different releases of PHP at the same time, you will be able to customize the software environment for each site which you host in the account if needed. A php.ini file with a couple of lines in it placed in a domain folder will enable you to set what release of PHP this specific website will use and whether APC needs to be on or off for it. These settings will have priority over those for the account in general, so you can run different scripts and take advantage of different web accelerators for sites which are in the same account.