Build a LAMP stack (Linux, Apache, MySQL, PHP) - CentOS 7
To build a dynamic web application, you need what has been coined a “stack” - which is developer lingo for an integrated set of software that has all of the components your application needs. Most stacks have the same types of components and differ mainly in which pieces of software they use for those components. For example, we’ll look at LAMP (which this article covers): LAMP Software: Linux (e.g. CentOS), Apache, MySQL, PHP If you're astute, maybe you noticed that LAMP is just an acronym for the software the stack uses. In this guide, we'll walk you through installing all of these components (except for Linux, which is already installed as your OS when you create the server). Install Apache Before you begin any installation, make sure that your software is up to date: # sudo yum update Install Apache: # sudo yum install httpd Start Apache: # sudo systemctl start httpd.service Set Apache to start on server b...