APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, which can speed up a database-driven site several times. Each time a PHP webpage is accessed, the script pulls the website content that should be displayed from a database, parses and compiles the program code, and then the result is shown to the visitor. While this is necessary for sites with constantly changing content, it is a waste of processing time and resources for an Internet site that does not change, for example an informational portal which shows the same content all the time. Once the webpages for such a site are compiled, APC caches them and delivers them any time a user accesses them. As this saves the time to obtain content from the database and to parse and compile the code, the Internet site will load considerably faster. APC is very useful in particular for scripts with massive source code.

APC (PHP Opcode Cache) in Shared Hosting

You can use APC for your web applications with any of the shared hosting plans that we provide because it's pre-installed on our cloud website hosting platform. Activating it will take just a mouse click in the Hepsia Control Panel which comes with our shared solutions and a few minutes later it'll begin caching the program code of your software apps. Our platform is rather flexible, so you'll be able to use several configurations depending on the system requirements of your scripts. For instance, you can activate APC for a couple of releases of PHP for the whole account and specify the version that each Internet site will use, or you can have the exact same version of PHP, but activate or deactivate APC only for specified Internet sites. You can do this by putting a php.ini file with a line of code within the domain or subdomain folder where you require the custom setup.

APC (PHP Opcode Cache) in Semi-dedicated Servers

APC is installed on the amazing cloud hosting platform where all semi-dedicated server accounts are made, so you could employ it whatever the plan you choose. Enabling the module is done from the Hepsia Control Panel and takes just a click, so you won't need any skills or previous experience to be able to take full advantage of it. As you'll be able to use several versions of PHP concurrently, you will be able to modify the software environment for every single website which you host in the account if needed. A php.ini file with a few lines in it placed in a domain folder will allow you to set what release of PHP this specific Internet site will use and if APC should 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 Internet sites that are in the same account.