• Emily

LAMP Stack PHP 7.4 v2

Updated: May 24, 2021

This AMI supports following versions.

  • PHP 7.4

  • Apache 2.4

  • MariaDB 10.4

  • phpMyAdmin 5.1

  • Amazon Linux 2

Product Link on AWS Marketplace

Web Server

We prepared SSL/TLS so you can access the top page using http:// or https://.

DB Server Password

You can find the password from EC2 management console System Log.

  1. Go to Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. Chose your Instance and Click Actions → Instance Settings → Get System log

3. Get System log.

You can also SSH into your instance and find the login credential using the following command.

$ cat /home/centos/credentials 
////////////////////credentials info////////////////////
--- phpMyAdmin
----- Setting  : Success
--- MariaDB
----- User     : root
----- Password : ****************


You can access phpMyAdmin after creating ssh tunnel.

How to Set up SSH Tunneling (Port Forwarding)

ex.) create ssh tunnel

$ ssh ec2-user@{ipaddress} -i {ssh-key-file.pem} -N -L 8080:localhost:80


For phpMyAdmin please refer to phpMyAdmin User Guide


158 views0 comments

Recent Posts

See All