Home >Backend Development >PHP Tutorial >Two ways to modify the index.php file that cannot be automatically loaded

Two ways to modify the index.php file that cannot be automatically loaded

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-25 08:55:13946browse
  1. DirectoryIndex index.hmtl index.php
Copy code

Method 2, modify D:lampapacheconfextra httpd -vhosts.conf file, add content :

  1. Options +Indexes
  2. DirectoryIndex index.php index.html
Copy the code

as shown below: Two ways to modify the index.php file that cannot be automatically loaded



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn