APC (PHP Opcode Cache)
Learn what the phrase ‘APC’ is short for, what exactly APC is capable of PHP overall performance-wise and approaches to enable it for your account.
APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script application, that can speed up a database-driven website several times. Any time a PHP webpage is accessed, the script pulls the website content which needs to be shown from a database, parses and compiles the code, and then the result is shown to the website visitor. While this is necessary for Internet sites with routinely changing content, it's a waste of processing time and system resources for a site which does not change, for instance an informational portal that shows identical content all the time. As soon as the web pages for such a site are compiled, APC caches them and delivers them every time a user loads them. Since this saves the time to request content from the database and to parse and compile the code, the website will load significantly faster. APC is really effective particularly for scripts with massive source code.
-
APC (PHP Opcode Cache) in Shared Web Hosting
You can use APC with each
shared web hosting package that we offer since it is already set up on our advanced cloud platform and activating it will take you only a few clicks inside your Hepsia Control Panel. Since our system is quite flexible, you'll be able to run sites with different requirements and decide whether they will use APC or not. For instance, you could allow APC only for one version of PHP or you can do this for several of the releases that run on our platform. You may also select if all sites using a specific PHP version will use APC or if the latter will be enabled only for selected websites and not for all sites in the hosting account. The last option is useful when you want to employ a different web accelerator for some of your Internet sites. These customizations are carried out with ease through a php.ini file in selected domain or subdomain folders.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is installed on the amazing cloud web hosting platform where all
semi-dedicated server accounts are created, so you'll be able to use it regardless of the package you pick. Enabling the module is done from the Hepsia Control Panel and takes only a mouse click, so you won't need any skills or earlier experience in order to take advantage of it. As you will be able to employ several releases of PHP concurrently, you'll be able to modify the software environment for each and every site that you host in the account if necessary. A php.ini file with a couple of lines in it placed in a domain folder will permit you to set what version of PHP this specific site will use and whether APC has to be on or off for it. These settings will have priority over the ones for the account as a whole, so you could run different scripts and employ different web accelerators for websites that are in the same account.