I can't php page access

He add a file “glitch.json” and put

{
“start”:“php -S 0.0.0.0:3000 -t .”,
“install”:“echo ‘we are ready!’”
}

in

1 Like

to be a bit more exact, a glitch.json file

i can explain what it does

and here is that explanation:

-S runs a web server at the desired port (the site:3000)

-t declares the root of the site, in this case .

1 Like


Why am I getting this then?

The issue resolved when I put the code like this:

{
  "install": "echo 'No install needed'",
  "start": "php -S 0.0.0.0:${PORT} -t public"
}

u forgot a "

lol

Ohhh…That was so silly of me!