APC (PHP Opcode Cache)
Find out what the phrase ‘APC’ means, what precisely APC is capable of PHP performance-wise and the way to enable it for your account.
APC, or Alternative PHP Cache, is a PHP module that caches the output code of database-driven script apps. Dynamic PHP sites hold their content within a database which is accessed whenever a visitor opens a webpage. The content which should be displayed is retrieved and the code is parsed and compiled before it is delivered to the website visitor. All these actions take some processing time and involve reading and writing on the server for each page that is accessed. While this can't be avoided for websites with regularly changing content, there are many websites that have the exact same content on many of their pages constantly - blogs, informational portals, hotel and restaurant Internet sites, etc. APC is very useful for such websites because it caches the already compiled code and shows it whenever visitors browse the cached pages, so the code doesn't need to be parsed and compiled repeatedly. This will not only greatly reduce the server load, but it'll also boost the speed of any site a few times.
-
APC (PHP Opcode Cache) in Hosting
APC is pre-installed on our outstanding cloud platform, therefore you can use it for your web applications irrespective of the
hosting plan that you choose when you join us. The module can be enabled from your Hepsia hosting Control Panel which is used to manage the shared accounts and just a couple of minutes later it will speed up your sites since it'll begin caching their code. If you wish to run Internet sites with different system requirements or employ different web accelerators for some of them, you'll be able to customize the software environment by putting a php.ini file in the desired domain folder. This way, you could enable or disable APC not only for a certain site without affecting the other sites in the account, but also for a particular version of PHP as our platform is compatible with multiple versions at the same time.
-
APC (PHP Opcode Cache) in Semi-dedicated Servers
APC is installed on the innovative cloud hosting platform where all
semi-dedicated server accounts are made, so you will be able to use it regardless of the plan you get. Activating the module is performed through the Hepsia Control Panel and takes just a mouse click, so you won't need any skills or prior experience in order to take full advantage of it. Since you'll be able to use several releases of PHP concurrently, you could modify the software environment for each website which you host in the account if necessary. A php.ini file with a few lines in it placed in a domain folder will allow you to set what version of PHP this particular site will use and whether 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 could run different scripts and take advantage of different web accelerators for websites that are in the same account.