search

Home  >  Q&A  >  body text

urgent! ! I used the PHP toolbox to create www.demo.com according to the steps, but it cannot be opened and the display is as follows:

Forbidden

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

What's going on? Thanks

aedaed2272 days ago1395

reply all(4)I'll reply

  • Daihuige

    Daihuige2019-05-14 03:00:20

    Problem solved!!!

    Mainly because there is no hosts file under C:\Windows\System32\drivers\etc in my win7 system, so I searched for the hosts file and the result Find a hosts file in C:\Windows\winsxs\amd64_...\, and then copy it to the C:\Windows\System32\drivers\etc directory. The result is a trap. No matter how you modify the bonded domain name, the result is the same It doesn’t work. I tried it for several days to no avail.

    Delete this file today. In the C:\Windows\System32\drivers\etc path, copy and paste the networks file, rename it to hosts, and then change the content Just change the content in the original hosts and save it.

    Finally done, now you can use the bonded domain name normally.

    reply
    0
  • Daihuige

    Daihuige2019-05-11 23:52:22

    Have you solved the poster's problem? If so, please share it, thank you! I have also encountered this problem.

    reply
    0
  • Ricardo

    Ricardo2018-12-06 12:17:08

    Other Options Menu→PHP Toolbox Settings→Allow Directory List√

    reply
    0
  • 黄政

    黄政2018-11-14 10:24:10

    Please change to php5.6 and see

    reply
    0
  • aed

    Thank you, I'll try it

    aed · 2018-11-14 10:30:27
    aed

    I did it once on another computer and I can open www.demo.com. What's going on?

    aed · 2018-11-14 11:22:44
    aed

    I switched versions, but it still doesn’t work. What’s going on?

    aed · 2018-11-14 23:05:52
  • Cancelreply