How to Configure Apache and PHP for High Traffic Websites on Linux Server

Almost every tutorial on how to install the LAMP stack (Linux, Apache, MySQL, PHP) will recommend that you use the built-in Apache module for processing PHP scripts. For example, in Ubuntu you would enable this when you use a command such as sudo apt install libapache2-mod-phpto install a package. This would in turn force Apache to use mpm_prefork. Every time a visitor accesses your website, a new process will be launched to handle that connection. This works well when traffic is low. But, it becomes a huge issue if you get a sudden burst of traffic. For example, a Reddit post may include your website,… Read more

What is PHP? (Video Explanation)

Come across the term ‘PHP’ (also known as ‘Hypertext Preprocessor’) and wondering what on earth it means? Fear not: we’ve got you covered! In short: it’s basically a scripting language used to power most of the web. In this quick video (below), we’ll go into both what PHP is, and how it fits in with… View Article

The post What is PHP? (Video Explanation) appeared first on WinningWP.