Our project used a PHP shell to run the service, we contractor want to find the treasure, we want to put the whole site like it write;
He said that PHP shell of the thing is also written in PHP, your site is also PHP, since it is possible, it must be done, why not write together? How do you break it?
Reply to discussion (solution)
PHP Shell write webserver is not generally difficult, need to parse the HTTP protocol, implement a cookie session, but also to simulate the PHP-FPM environment, $_srver $_post $_get ....
But you can look at Swoole, which is written in C.
If you want native PHP to write, you can look at the Workerman, it comes with a webserver should be able to help you
Basically it should be about the same. You can try it and know it.
But I usually use the CLI is used to do the collection of work.
No interactive functionality.
What about the station?
Your station only function,?
It's a very challenging look.
What about the station?
Your station only function,?
There are web pages, interactive features, all bad