Category
php
2Articles

How to Connect to AWS RDS MySQL Database to EC2 Instance With PHP By Using PDO
Introduction In this post, we will learn how to connect an AWS RDS MySQL database to an EC2 instance with PHP, using PDO. PrerequisitesAWS Account EC2 Instance Amazon Linux 2 RDS MySQL

How to Install PHP and MariaDB on Amazon Linux 2
Introduction In this tutorial we will set up PHP and MariaDB on Amazon Linux 2. We will get PHP working with the Apache web server, secure the MariaDB install, and then connect the two with a smal