1 Overview
Apache configure the virtual directory, then you can go to access by Zend Studio works only need to modify the Apache httpd.conf file.
2 Modify httpd.conf
Httpd.conf found in the Apache installation directory, in the end, add:
<IfModule dir_module>
DirectoryIndex index.html intex.htm index.php
Alias /alias path
<Directory path>
Options All
AllowOverride None
Require all granted
</Directory>
</IfModule>
Where alias is the alias, path is the folder path.
For example, set here:
<IfModule dir_module>
DirectoryIndex index.html intex.htm index.php
Alias /111 D:/Desktop/111
<Directory D:/Desktop/111>
Options All
AllowOverride None
Require all granted
</Directory>
</IfModule>
Alias 111, path
D:/Desktop/111
Finally, the Apache service again.
3 Zend Studio Project
Zend Studio enter a new project:
project name to correspond with the above configuration file, placed in the corresponding Location.
Completion index.php:
the one of the <none> to replace localhost:
then you can visit.