If you were asking about the way to get an environment with PHP7 up and running, Rasmus shared a preconfigured Debian 7.8 image for testing PHP apps and developing extensions across all versions of PHP since 5.3, plus an easily buildable PHP7 php-src tree. The image can be installed on any Mac/Win/Linux system.

You can find Rasmus image PHP7Dev on github, installation require Oracle VirtualBox and Vagrant (at least version 1.5 required) installed then for Linux/Unix users make sure you have an ssh RSA key installed, otherwise you can do it using :

Without this ssh key you might get error like this :

Then make sure that hardware virtualization is supported by your CPU (VT-x for Intel, AMD-V for AMD processors), you can do this from your terminal :

If virtualization is supported, vmx/svm will be colored in red in results, in this case this should be enabled from your BIOS to be able to use it.


Then get the PHP7Dev image :

Edit your /etc/hosts to add this line :

Finally you can point your browser to http://php7dev/ to see the PHP7 phpinfo() running.


You can find more about using the php7dev in the github repository : switching between different PHP version, installing apps such as phpBB or others, adding shared folders, public networks, MySQL databases, debugging tools…etc.