APC, which is short for Alternative PHP Cache, is a framework used for caching the compiled source code of a given script app, that can speed up a database-driven site several times. Every time a PHP webpage is accessed, the script pulls the website content which has to be displayed from a database, parses and compiles the code, and then the result is displayed to the visitor. While this is necessary for websites with regularly changing content, it is a total waste of processing time and system resources for a website that does not change, such as an informational portal that shows identical content all the time. When the pages for such a site are compiled, APC caches them and delivers them each time a website visitor opens them. Since this saves the time to obtain content from the database and to parse and compile the code, the website will load significantly quicker. APC is really helpful in particular for scripts with massive source code.

APC (PHP Opcode Cache) in Cloud Hosting

APC is pre-installed on our leading-edge cloud platform, so you'll be able to use it for your web applications regardless of the cloud hosting package that you choose when you sign up. The module can be enabled from the Hepsia hosting Control Panel that is used to manage the shared accounts and only a few minutes later it will speed up your Internet sites as it will start caching their program code. In case you wish to run websites with different system requirements or take advantage of specific web accelerators for some of them, you can customize the software environment by placing a php.ini file inside the desired domain folder. This way, you could enable or disable APC not only for a certain website without affecting the remaining Internet sites in the account, but also for a certain version of PHP because our platform is compatible with multiple versions simultaneously.

APC (PHP Opcode Cache) in Semi-dedicated Hosting

You can use APC for each script application which runs on your new semi-dedicated hosting because the module is already installed on the cloud hosting platform where the account will be created. Activating or deactivating APC for the whole account requires one click from the Hepsia Control Panel, but if necessary, you could use the module only for particular sites. This is possible due to the flexibility of our cloud platform - multiple versions of PHP run on it simultaneously, so with a php.ini file placed in a website folder, you'll be able to select what release will be used for this particular site and whether APC has to be enabled or disabled. Employing such a file allows you to use settings which are different from the ones for your account, so you can take advantage of APC for a lot of scripts where the module makes a difference and not for others where you may take advantage of a different type of web accelerator.