O'Reilly logo

Web Application Development with Yii 2 and PHP by Jeffrey Winesett, Mark Safronov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Fine-tuning the virtual machine

As specified in the Vagrantfile, we are going to have three provisioning scripts to be run in that order. Let's look at them in the same order.

In the code bundle provided with this book, these scripts are in the bootstrap directory exactly as shown in the preceding code example. In this folder, a bunch of other files also exists; these are various configuration files for different programs that Vagrant will place in appropriate places according to our bootstrap scripts.

Preparing the guest OS

We are using Ubuntu 12.04, which does not have PHP 5.4 in its installation repositories. On the other hand, we are in an environment where apt-get is available, so we can install absolutely anything we need relatively easily. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required