APC (PHP Opcode Cache)
Find what the abbreviation ‘APC’ represents, everything that APC is capable of doing PHP functionality-wise and ways to activate it for your account.
APC, which is an acronym for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can boost a database-driven site several times. Every time a PHP webpage is opened, the script pulls the website content which has to be loaded from a database, parses and compiles the code, and the result is shown to the visitor. While this is necessary for Internet sites with frequently changing content, it is a complete waste of processing time and resources for a website which does not change, like an informational portal which shows the very same content at all times. As soon as the pages for such an Internet site are compiled, APC caches them and delivers them any time a visitor loads them. Since this saves the time to get content from the database and to parse and compile the code, your website will load considerably faster. APC is really useful in particular for scripts with larger source code.
-
APC (PHP Opcode Cache) in Cloud Hosting
You'll be able to use APC for your web applications with all of the
cloud hosting packages that we provide as it is pre-installed on our cloud website hosting platform. Turning it on will take only a mouse click in the Hepsia Control Panel which is provided with our shared solutions and a few minutes later it will start caching the program code of your software apps. Our platform is very flexible, so you'll be able to use several configurations based on the system requirements of the scripts. For example, you can activate APC for several versions of PHP for the whole account and select the version that each site will use, or you could have the very same version of PHP, but enable or disable APC only for specified websites. You can do this by putting a php.ini file with a line of program code in the domain or subdomain folder where you require the custom configuration.
-
APC (PHP Opcode Cache) in Semi-dedicated Hosting
You’ll be able to use APC for every single script application that runs on your new
semi-dedicated hosting as the module is pre-installed on the cloud hosting platform where the account will be generated. Activating or deactivating APC for the account requires one click in the Hepsia Control Panel, but if necessary, you could use the module just for specific websites. This is possible because of the flexibility of our cloud platform - multiple releases of PHP run on it at the same time, so with a php.ini file placed in a website folder, you can choose what release will be used for this particular Internet site and whether APC needs to be enabled or disabled. Using such a file allows you to use settings which are different from the standard ones for the account, so you'll be able to take full advantage of APC for a lot of scripts where the module will make a difference and not for others where you could use some other type of web accelerator.