Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jul 2002
    Posts
    367

    Default how do we verify if suPHP ?

    Hi,

    How can I verify that suPHP is enabled?

  2. #2
    Member
    Join Date
    Apr 2007
    Posts
    7

    Default

    From your shell, just try this one, it will give you the handlers enabled for PHPs in the server.

    root@xxx.xxx.xxx.xxx [~]# /usr/local/cpanel/bin/rebuild_phpconf --current
    Available handlers: suphp dso fcgi cgi none
    DEFAULT PHP: 5
    PHP4 SAPI: suphp
    PHP5 SAPI: suphp
    SUEXEC: enabled
    Abhilash S V
    Unix Admin

  3. #3
    Member darren.nolan's Avatar
    Join Date
    Oct 2007
    Posts
    259

    Default

    Make a php file, change the permissions on that file to 777 and open it in a browser. If it says 500 Internal Server error, your most probably running suPHP.

    Alternatively,
    If you have access to WHM - login, in the menu find Configure PHP and SuExec
    Check the drop down box for "PHP 4/5 Handler" - and if beside that it says "suPHP" - ur running it


    Edit: Or shell it as above. How did you post ahead of me, that's just weird. LOL.
    Last edited by darren.nolan; 08-01-2008 at 02:58 PM. Reason: Cause.

  4. #4
    Member Stefaans's Avatar
    Join Date
    Mar 2002
    Location
    Vancouver, Canada
    Posts
    445

    Default

    SuPHP activity is logged in /usr/local/apache/logs/suexec_log. If you tail it, you will see if there is any current activity:
    Code:
    tail -f /usr/local/apache/logs/suexec_log

  5. #5
    Member brianoz's Avatar
    Join Date
    Mar 2004
    Location
    Melbourne, Australia
    Posts
    1,117
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    If PHP has write access it is running suphp. For instance, check for write perms on your current directory, or try creating a file.

Similar Threads & Tags
Similar threads

  1. How to verify...
    By foxdevil in forum New User Questions
    Replies: 2
    Last Post: 05-16-2008, 06:04 AM
  2. suPHP +e-mail form + sender verify = problem
    By bejbi in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-20-2007, 12:36 PM
  3. 'Use callouts to verify' vs 'Verify the existence of email senders.'
    By Bradl3y in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-26-2007, 09:57 AM
  4. Replies: 6
    Last Post: 10-30-2005, 07:32 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube