Home  >  Q&A  >  body text

localhost cannot be opened

Appears after opening

Forbidden

You don't have permission to access / on this server.


冷小川gg冷小川gg2313 days ago1300

reply all(5)I'll reply

  • 冬末花开

    冬末花开2018-07-16 14:47:36

    Can i do it now?

    reply
    0
  • ringa_lee

    ringa_lee2018-07-14 18:47:56

    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

    reply
    0
  • 冷小川gg

    Please tell me how to set up the local folder when opening localhost, that is, when entering localhost, the local folder will appear on the page.

    冷小川gg · 2018-07-14 18:54:29
    ringa_lee

    Open the phpstudy interface, click on the other options menu->phpstudy settings->check Allow directory list

    ringa_lee · 2018-07-14 21:58:43
    冬末花开

    effective

    冬末花开 · 2018-07-16 14:46:27
    ringa_lee

    OK!

    ringa_lee · 2018-07-26 09:02:41
    冷小川gg

    elder brother. already setup. But still no effect.

    冷小川gg · 2018-07-16 15:25:57
    冷小川gg

    冷小川gg · 2018-07-16 15:28:50
    冷小川gg

    It’s set up, thank you brothers

    冷小川gg · 2018-07-16 15:29:26
  • Cancelreply