Hi All,
So I HAVE searched Google for this, and it should be very easy.
All I want to be able to do is build a PHP file that tests if SuPHP is enabled on a server. I've searched the entirity of PHP.net for SuPHP, and so I'm sure there's no easy function there. And then I looked all over the PHPInfo configurations of servers with and without SuPHP, and no luck there.
So, does anyone know, how I can find out if a server is running with SuPHP, or not? I'd prefer a solution which doesn't involve creating a test file of 777 permissions, or a new directory with a htaccess that has PHP directives, if possible. I'd like to just upload and view a PHP script to get the answer.
Thanks for your help.
So I HAVE searched Google for this, and it should be very easy.
All I want to be able to do is build a PHP file that tests if SuPHP is enabled on a server. I've searched the entirity of PHP.net for SuPHP, and so I'm sure there's no easy function there. And then I looked all over the PHPInfo configurations of servers with and without SuPHP, and no luck there.
So, does anyone know, how I can find out if a server is running with SuPHP, or not? I'd prefer a solution which doesn't involve creating a test file of 777 permissions, or a new directory with a htaccess that has PHP directives, if possible. I'd like to just upload and view a PHP script to get the answer.
Thanks for your help.