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).

https://www.php.net/manual/en/features.commandline.webserver.php

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

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.