To do so, we need PHP5 and Apache2.
Now, we can destroy our old box and start a new one with
vagrant up. Alternatively, we can create a new box with Apache2 and PHP.
Use the same
Vagrantfile and replace Nginx with Apache2.
Note that Apache2 has the following dependencies. Before we start, we need to clone individual cookbooks into our
Change the Nginx connection to Apache2, remove the old box, and create a new box using the following command:
$ vagrant destroy $ vagrant up
The recipes will execute, and we have our new Apache2 box installed. Go to
http://127.0.0.1:8080, and we will see Apache2' s page.
Our next step...