Now, our next task is to create a simple PHP project, and when we access
http://localhost:8080, it should display our Hello World page.
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
It's a tedious task to clone the repo one by one. In the next chapter, we will use a software tool to resolve the dependencies.
The Apache2 dependencies are as follows:
Change the Nginx connection to Apache2, remove ...