O'Reilly logo

Mastering PHP 7 by Branko Ajzele

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

Setting up the virtual host

We first amend the /etc/hosts file by adding the 127.0.0.1 test.loc line entry to it.

With the test.loc host now added to the hosts file, we turn back to the Zend Server and click on the Add virtual host button under the Applications | Virtual Hosts screen. This takes us to the Properties step of the Add Virtual Host process:

Here we enter test.loc for Virtual Host Name and 80 for Listen on Port. Clicking on the Next button takes us to the SSL Configuration step of the Add Virtual Host process:

To keep things simple, ...

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