APC (PHP Opcode Cache)
Learn what the phrase ‘APC’ stands for, what APC is able to do PHP effectiveness-wise and how to activate it for your account.
Alternative PHP Cache, or APC, is a module for Apache web servers that is used to cache the output code of script apps. It is very useful for scripts with large source code and will speed up such a website as much as 3 times. PHP websites are dynamic and whenever a visitor accesses a web page, the script connects to a database in order to get some content, and then the code is parsed and compiled before it's displayed to the site visitor. If the output code doesn't change however, that's the case with websites which show the same content at all times, such actions trigger unnecessary reading and writing. What APC does is that it caches the previously compiled program code and delivers it every time visitors browse an Internet site, so the database doesn't need to be accessed and the code does not need to be parsed and compiled over and over again, that consequently minimizes the Internet site loading time. The module can be really useful for informational Internet sites, blogs, portfolios, and so on.
APC (PHP Opcode Cache) in Web Hosting
You can use APC for your web apps with all of the web hosting
packages that we provide because it is pre-installed on our cloud website hosting platform. Enabling it will take just a mouse click inside the Hepsia Control Panel that comes with our shared solutions and a few minutes later it will start caching the program code of your software applications. Our platform is extremely flexible, so you'll be able to use several configurations based on the system requirements of your scripts. For example, you will be able to activate APC for a couple of releases of PHP for the entire account and pick the version that each Internet site can use, or you could have the exact same version of PHP, but activate or deactivate APC only for specific websites. You can do this by putting a php.ini file with a line of program code within the domain or subdomain folder where you require the custom configuration.
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is installed on the state-of-the-art cloud Internet hosting platform where all semi-dedicated server
accounts are created, so you could employ it whatever the plan you get. Enabling the module is done from the Hepsia Control Panel and takes only a click, so you won't need any skills or prior experience to be able to take full advantage of it. Since you will be able to employ several releases of PHP concurrently, you could modify the software environment for every single Internet 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 version of PHP this particular website will use and if APC needs to be on or off for it. These settings will have priority over the ones for the account as a whole, so you can run different scripts and use different web accelerators for sites that are in the same account.