Edit report at https://bugs.php.net/bug.php?id=55134&edit=1

 ID:                 55134
 Updated by:         [email protected]
 Reported by:        frederic dot hardy at mageekbox dot net
 Summary:            index.html has greater priority than index.php
-Status:             Open
+Status:             Bogus
 Type:               Bug
 Package:            Built-in web server
 Operating System:   Irrelevant
 PHP Version:        5.4SVN-2011-07-05 (SVN)
 Block user comment: N
 Private report:     N

 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

This has to do with your web server config, not PHP.


Previous Comments:
------------------------------------------------------------------------
[2011-07-05 03:42:32] frederic dot hardy at mageekbox dot net

Description:
------------
When a directory contains index.html and index.php, built-in web server send to 
the client index.html, instead of index.php.

Test script:
---------------
Pour in the root directory of the built-in web server index.html and index.php.
Launght the built-in web server with php -S localhost:8080.
Go to http://localhost:8080.

Expected result:
----------------
Result of execution of index.php.

Actual result:
--------------
Contents of index.html.


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=55134&edit=1

Reply via email to