How to use this box with Vagrant:
Vagrant.configure("2") do |config|
config.vm.box = "JoSSte/lamp"
config.vm.box_version = "2.0.2"
end
vagrant init JoSSte/lamp \
--box-version 2.0.2
vagrant up
This version was created over 1 year ago.
Upgraded Virtalbox guest additions to 6.1.40 Cleaning apt cache
This is my gold image for working with apache and PHP
This .box is meant as a golden image for building LAMP environments to facilitate rapid development on several machines. The goal is to have a box with apache, php, mysql, xdebug installed and configured, as well as modsecurity preloaded to be enabled quickly if you need that installed.
Make sure your .vscode/launch.json contains this:
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"pathMappings": {
"/var/www/<yourfolder on vagrant>": "${workspaceRoot}/src"
},
"port": 9000,
"log" : true
}
vagrant
secret