On 2018-03-20 10:21 AM, James Hall wrote:
Can I ask what becomes of the future for SuPHP? I am aware that cPanel is bundled and still uses suPHP as default. Presumably they actively maintain their own version, though.

What equivalent software would you recommend in this day and age?

At $dayjob, I switched to using php-fpm with a "pool" per user. With Apache 2.4, proxy_fcgi works nicely with a config snippet like:

<FilesMatch \.(php|php3)$>
    <If "-f %{REQUEST_FILENAME}">
        SetHandler "proxy:unix:pathtosocket.sock|fcgi://localhost"
    </If>
</FilesMatch>

Then give every relevant user its own socket path and pool in the php-fpm configuration.

This allows Apache to decide what to do with any given file and handle non-existent files while passing real files on to PHP. (That's what the "If" container is about.)

_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp

Reply via email to