After php7 came out, wamp3.0 version also added php7 and apache versions. However, after installing it, configuring vhost, I found that when opening the project address, it prompted 404. But the path was opposite.
Later, I wrote a under the test directory index.php or index.html can be opened;
But removing the index file will result in a 404 error. But the project's file directory cannot be browsed.
Solution: Modify the apche configuration file:
LoadModule autoindex_module modules/mod_autoindex. so
My problem is solved by this one solution,
If there are others, you can check this,http://blog.csdn.net/zhuizhuziwo/article/details/8016018
The above has introduced the wamp30 apache vhost. After setting up, the directory is correct, but a 404 prompt is displayed, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.