PHP server with 2 files

Minimal PHP server - 2 files (1 line of code in glitch.json)


Remix of glitch.com/~php-poc
1 Like

SO this is where we do our PHP now.

So you used the built in PHP webserver? Cool.

Hey, just wanted to point out that it looks like this is running PHP’s built in web server, something that is not to be used in production (ie. on the internet).

From PHP.net

This web server is designed to aid application development. It may also be useful for testing purposes or for application demonstrations that are run in controlled environments. It is not intended to be a full-featured web server. It should not be used on a public network.

You should instead be using the Apache web server (lamp-poc)

2 Likes