|
|
|
|
|
by flashmob
2744 days ago
|
|
I'm also one of those who switched from PHP to Go and now I have quite a bit of legacy PHP code that just works and don't have time to rewrite. 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 |
|