First of all, check whether there is an index.php file in the root directory of your local server. If not, this error will be reported. Also, what tool are you using? If phpstudy is configured, it has this option. Yes, open the phpstudy interface, click the other options menu->phpstudy settings->check Allow directory list
Can i do it now?
First of all, check whether there is an index.php file in the root directory of your local server. If not, this error will be reported. Also, what tool are you using? If phpstudy is configured, it has this option. Yes, open the phpstudy interface, click the other options menu->phpstudy settings->check Allow directory list