by flashmob · 7y ago · 0 comments
My solution:
Use a Go FastCGI client library to call PHP by talking directly to php-fpm. It saves on the HTTP request overhead and no need to run a web server. Actually, php-fpm is a decent application server itself.
Edit: Here's a link to example code: https://github.com/tomasen/fcgi_client
No comments yet.