- [PHP] 5.6, 7.0, 7.1, 7.2, 7.3
- Apache 2.4
- Nginx
- Mysql 5.7
- Sqlite3
- MongoDB 4.0
- Elasticsearch 6.4.2
- Java 8
- Redis latest stable
- Nodejs 10.x
- Git
- Composer
git clone https://github.com/filipefernandes007/vagrant-lamp-env
cd vagrant-lamp
vagrant up
Your applications live in /vagrant/www/
Your projects/apps must be under /vagrant/www/ folder.
vagrant ssh
cd www
At config/config.yml you can decide what to be installed in your virtual machine. Choose true for the dependencies you like to be installed.
For mysql access you can use this credentials : root:root
For mysql access client via ssh :
- SSH Host : 192.168.33.185
- SSH User : vagrant
- SSH Password : vagrant
After setup is finished, go to 192.168.33.185 in your browser. You should see the phpinfo()
page.
phpMyAdmin
is accessible at http://192.168.33.185/phpmyadmin/ Username is 'root', password 'root'
If you are going to use Symfony server command, do this:
php bin/console server:run 0.0.0.0:8000
Enjoy!