Home > Backend Development > PHP Tutorial > apache配备好后index.php只显示目录

apache配备好后index.php只显示目录

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:44:37
Original
896 people have browsed it

apache配置好后index.php只显示目录
大家好,我的apache和php配置好后,localhost不显示index.php的内容,而是显示根目录下的列表,但我输入localhost/phpinfo.php,却能显示内容,这是怎么回事呢,PHP都配置好了

LoadModule php5_module "D:/Program Files/php5.2/php5apache2_2.dll"
AddType application/x-httpd-php .php .do .action
AddType application/x-httpd-php .htm .html
PHPIniDir "D:/Program Files/php5.2" 


    DirectoryIndex index.html index.php

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template