Hacker News new | ask | show | jobs
by joecot 2991 days ago
"As of Release 1.0, NGINX Unit supports Go, Perl, PHP, Python, and Ruby on the same server. Multiple language versions are also supported, so you can, for instance, run applications written for PHP 5 and PHP 7 on the same server."

Proceeds to give no examples for setting up PHP 5 and PHP 7 on the same server, anywhere on their site

1 comments

I wondered about that too and found the solution on Github: https://github.com/nginx/unit/issues/46
That's further than I got. Mostly my issue is that, if we're now getting into needing to compile nginx unit from source and manually compiling the PHP modules, it doesn't save anything over setting up php with CGI or WSGI. I'm not afraid of compiling software, but I am afraid of regular update maintenance of compiled software, so I try to only use packaged released whenever possible. I would rather slightly harder initial configuration than manual compilation.