APC, which stands for Alternative PHP Cache, is a framework used for caching the compiled source code of a script application, that can speed up a database-driven website several times. Every time a PHP web page is opened, the script pulls the content which should be shown from a database, parses and compiles the code, and the result is shown to the site visitor. While this is necessary for Internet sites with routinely changing content, it's a waste of processing time and resources for a website that doesn't change, like an informational portal which displays identical content at all times. As soon as the web pages for such an Internet site are compiled, APC caches them and delivers them each time a user accesses them. Since this saves the time to get content from the database and to parse and compile the program code, the Internet site will load considerably faster. APC is really effective especially for scripts with larger source code.
APC (PHP Opcode Cache) in Cloud Hosting
APC is pre-installed on our cutting-edge cloud platform, therefore you will be able to use it for your web applications whatever the cloud hosting plan that you select when you join us. The module can be activated from your Hepsia internet hosting Control Panel that is used to take care of the shared accounts and only a couple of minutes later it will boost your sites as it will begin caching their program code. If you need to run sites with various system requirements or employ different web accelerators for any of them, you will be able to customize the software environment by putting a php.ini file in the desired domain folder. In this way, you could enable or disable APC not just for a certain site without affecting the other sites in the account, but also for a particular version of PHP because our platform supports multiple versions at the same time.
APC (PHP Opcode Cache) in Semi-dedicated Servers
You can use APC with all of our semi-dedicated server solutions and activating the framework is done with a click from the Hepsia Control Panel, so even when you have no prior experience, you'll be able to use it to accelerate your websites. As the cloud hosting platform where the semi-dedicated accounts are made is compatible with multiple PHP releases, you'll have flexibility with regards to the scripts and web accelerators you can use. It will take you only a click to enable APC for one or several PHP versions and by using a php.ini file inside the domain/subdomain folders where you need settings which are different from the ones for the account as a whole, you can set what PHP release will be used and whether APC needs to be allowed or not. This way, one Internet site can use APC and PHP 5.3, for instance, while another one could use some other accelerator and PHP 5.5.