3 ms·
One other way might be to use phpjs.org, albeit a less complete version of it.
by TamDenholm 16y ago
One other way might be to use phpjs.org, albeit a less complete version of it.
- davidcoallier 16y agoPHPJS emulates PHP but can't run PHP scripts :)
- ldng 16y agoNode.js neither. It merely passes the request to PHP-FPM. Neat hack but I fail to take it seriously. I don't see the benefit. Maybe I missed something.
- davidcoallier 16y agoIn this case Node.js acts as the webserver as Nginx or Apache would.
- joelhaasnoot 16y agoNode.js is low-level enough to do some protocol things fast enough PHP can't. I can imagine building a load balancer or proxy to PHP. Yes, it's probably not the best solution, but it could be done.