Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member equens's Avatar
    Join Date
    Feb 2002
    Posts
    256

    Default PHP suEXEC Support security question

    How dangerous is not to install the PHP suEXEC Support. I have updated apache with PHP suEXEC Support and I have encountered some problems. One of them is that when suEXEC is installed, the addon domain doesn't works. I try to visit simple index.php and the server returns 505 error.

    I think this is a problem of permmisions, do you think that with 755 permmisions the problems goes out? Thanks!
    Last edited by equens; 06-06-2004 at 07:30 PM.

  2. #2
    Member
    Join Date
    Jan 2004
    Posts
    248

    Default

    IMO there are no security issues with running phpsuexec. Infact this forces php to run as cgi so it runs under the permissions of the account user vs running as the user nobody.

    This makes it easier to track down whos running what.

    Incorrect permissions can case the 500 error as you describe. Also having php_value amounts in a .htaccess file will do this aswell.

  3. #3
    Member
    Join Date
    Feb 2004
    Location
    Spain
    Posts
    17

    Default

    But if I select PHP SuExec support, some php session headers in .htaccess will not work, so I can't install suexec support. I don't know if NOT installing SuExec Support and upgrading to the lastest cpanel release I will be as secure as having installed suexec support.

    Comments?

  4. #4
    Member
    Join Date
    May 2002
    Posts
    152

    Default

    Originally posted by Hueznar
    But if I select PHP SuExec support, some php session headers in .htaccess will not work, so I can't install suexec support. I don't know if NOT installing SuExec Support and upgrading to the lastest cpanel release I will be as secure as having installed suexec support.

    Comments?
    You must change .htaccess php_value from the .htaccess ones, to placing a php.ini with those settings in it.

    Small trade off for php+suexec

  5. #5
    Member
    Join Date
    Feb 2004
    Location
    Spain
    Posts
    17

    Default

    Originally posted by Faldran
    You must change .htaccess php_value from the .htaccess ones, to placing a php.ini with those settings in it.

    Small trade off for php+suexec
    Errr..., I'm not sure to understand you.

    You say to remove .htacess php_values and create a php.ini? ...in the users' account folder with these values? :?

    For example, I have the following code in .htaccess file:

    AuthType Basic

    AuthName "CTI"

    AuthUserFile "/home/wcnt1033/.htpasswds/cti/passwd"

    require valid-user


    ...if I compile apache with PHP Su Exec support, the code don't work. Is ignored.

    Tell me how to solve this with php su exec support enabled.

    (my english level is low)

    Thank you sincerely for all your help

  6. #6
    Member
    Join Date
    Jul 2003
    Posts
    106

    Default

    use suPHP

    www.suphp.org

    a lot better tbh

Similar Threads & Tags
Similar threads

  1. PHP suEXEC Support
    By asmithjr in forum cPanel and WHM Discussions
    Replies: 32
    Last Post: 09-27-2006, 05:11 PM
  2. php 4.4.0 + suexec support breaks everything
    By imhosted in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-30-2005, 06:34 AM
  3. PHP suexec and security
    By barts in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 08-22-2005, 09:28 AM
  4. does mmcache support php Suexec
    By mhm in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-13-2004, 07:46 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube