Hello everyone, my Apache and PHP configuration, localhost does not display the contents of index.php, but instead shows the list under the root directory, but I input localhost/phpinfo.php, but can display the content, this is what is the case, PHP is configured
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
Reply to discussion (solution)
Do not display the index list:
httpd.conf, find this line in the directory segment:
Options Indexes ...
Remove indexes and restart Apache
Are you sure you have a index.php file with the directory? is the Dir module loaded?
localhost/index.php Do you have content?
If you can, you can advance the index.php
DirectoryIndex index.php index.html
LoadModule Env_module modules/mod_env.so