I can't php page access

He add a file “glitch.json” and put

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


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${PORT} -t public"

u forgot a "


Ohhh…That was so silly of me!