Collection of Vagrant files.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Collection of Vagrant files and Chef cookbooks to install virtual machines for different purposes:

  • Zend Server Community Edition with PHP 5.3 (Vagrantfile.zend-server-ce-php53)
  • Zend Server Community Edition with PHP 5.4 (Vagrantfile.zend-server-ce-php54)



There is no default Vagrantfile. It has to be created and if required to be configured.

Zend Server Community Edition PHP 5.4

  1. Create a Vagrantfile by copy

    cp Vagrantfile.zend-server-ce-php54 Vagrantfile
  2. Alter Vagrantfile and change hostname and/or IP if needed:

    config.vm.host_name = "myhostname" :hostonly, ""
  3. Start Vagrant and install everything

    vagrant up

After this you can lean back and when it’s finished you can connect to your vagrant machine via vagrant ssh or open the browser and type in the IP.

Zend Server Community Edition PHP 5.3

  1. Create a Vagrantfile by copy

    cp Vagrantfile.zend-server-ce-php53 Vagrantfile

After this step you can continue with step 2 from above.

Accessing the Zend Server GUI via HTTP or

SSH-Config (optional)

The following step is optional but creates more comfort for the developer by adding the vagrant machine’s ip address to the ssh config you’re able to easily connect to it via ssh myhostname:

# ~/.ssh/config
# Example (see Vagrantfile):
# config.vm.host_name = "myhostname"
# :hostonly, ""

Host myhostname
  Port 22
  User vagrant
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile ~/.vagrant.d/insecure_private_key
  IdentitiesOnly yes

Host-Config (optional)

For even more comfort during development you can alter your computer’s hostfile to know which ip belongs to your myhostname you just have to add the ip and hostname to it:

# /etc/hosts
# Example (see Vagrantfile):
# config.vm.host_name = "myhostname"
# :hostonly, "" myhostname

After that you can access the Zend Server GUI via HTTP with this simple URL: http://myhostname:10081 or https://myhostname:10082