Minimal LAMP Stack provide Ubuntu 18.04, Apache, PHP7.1, MySQL and phpMyAdmin in a flexible box for Vagrant.
Be sure to install VirtualBox, Vagrant and optionally Git.
$ git clone https://github.com/LeonardoPuccio/Minimal-LAMP-Stack my-workspace
Simply download and extract Minimal-LAMP-Stack-master.zip where do you want.
$ vagrant up
$ vagrant halt
shell into the running Vagrant machine.
$ vagrant ssh
to see phpinfo().
http://192.168.33.10/phpmyadmin/ or http://localhost/phpmyadmin/
The www
folder is a shared folder synced with /var/www/html
in ubuntu virtual machine that correspond to default root folder of the web server.
Is possible access to database from a desktop client such as Sequel Pro or HeidiSQL. Remind you need ssh tunneling.
- Ubuntu-18.04 (live-server-amd64)
- Apache (2.4.29)
- PHP7.1 (7.1.17)
- MySQL (5.7.22-0)
- phpMyAdmin
root: vagrant
password: vagrant
user: vagrantdb
password: vagrantdb
user: root
password: root
Note: vagrantdb is an user with all privileges on vagrantdb, this for avoid conflict problem with phpmyadmin and access to it.