On the index.php problem under the root directory of the website

I use phpstudy,. I set the root directory of my website to www/test and www/test/. Now I build three files under test. Index.php,index.html,1.php, accesses index.php,index.html,1.php normally when my root directory is www/test, so the problem is that when I am www/test/, both index.html and 1.php are normal, but when I visit index.php, I access index.html, by default. Ask for God"s guidance!

Mar.05,2021

you have to configure apache or nginx

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38771-2c131.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38771-2c131.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?