Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

PHP and suEXEC Configuration Questions

Discussion in 'EasyApache' started by webdatago, May 24, 2017.

  1. webdatago

    webdatago Member

    Joined:
    Jan 23, 2015
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Can you please give us step in how to configure PHP and suEXEC Configuration under WHM >> MultiPHP Manager" to able to use PHP 5 Handler: suphp and Apache suEXEC: on

    Regards
    Jonathan
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello Jonathan,

    You can use the "PHP Handlers" tab in "WHM >> MultiPHP Manager" to change your PHP handlers for each PHP version. The MultiPHP Manager for WHM feature is documented at:

    MultiPHP Manager for WHM - Documentation - cPanel Documentation

    Regarding suexec, you can customize your EasyApache 4 profile to include "mod_suexec" via the Apache Modules section in "WHM Home » Software » EasyApache 4".

    Let us know if this helps.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. webdatago

    webdatago Member

    Joined:
    Jan 23, 2015
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    We are in easyApache 4 which option should we click to include mod_suexec
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    You can click on "Customize" to customize your existing packages, then choose "Apache Modules" on the left. Search for "suexec" and drag the icon over to enable it if it's not already enabled.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. webdatago

    webdatago Member

    Joined:
    Jan 23, 2015
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Good, we have installed that now we want to activate is under the PHP handle, we can only see cgi and none in PHP Handler.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can install the suPHP package using the same steps you used to install suexec, except you'd search for suphp.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. webdatago

    webdatago Member

    Joined:
    Jan 23, 2015
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Please file upload is not working on the server..It gives blank page if you are uploading a file through a php script
     
  8. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,792
    Likes Received:
    83
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    What the permission of the directory the file is uploaded to? Please check it once.. What CMS application you are using ? Can you give a screenshot..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. webdatago

    webdatago Member

    Joined:
    Jan 23, 2015
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    we have not set any permission if so how can we set persmission for the directory, Its our own website that we need to upload customers picture on their Account page.
     
  10. webdatago

    webdatago Member

    Joined:
    Jan 23, 2015
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    if we access a website through http://ip/~usename on our cpanel we get "No supported".. sample site - Removed -

    Can you please check and guide us in how to correct this issue
     
    #10 webdatago, May 26, 2017
    Last edited by a moderator: May 26, 2017
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The "Not Supported" message will occur when using the "CGI" handler with Apache Mod_Userdir. You will need to use another handler (e.g. suphp) if you want to utilize Apache Mod_Userdir. Documentation on selecting PHP handlers with EasyApache 4 is available at:

    Manage PHP Handlers in EasyApache 4 - EasyApache 4 - cPanel Documentation

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice