Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Feb 2003
    Posts
    112

    Default Compiling phpSuExec with Easyapache throws Internal Server Error

    For some odd reason I recently started getting on ALL php scripts Internal Server Error after compiling phpSuExec. I don't understand why. Before it worked just fine and now everything throws internal server error. Any ideas? PSM does my admin work but lately they let me down so I'm trying to see if I can solve this on my own.

    Regards

  2. #2
    Member
    Join Date
    Feb 2007
    Posts
    79

    Default

    PHPSuExec wont run with 777 chmoded folders. you will have to chmod all folders back to 755
    Last edited by _Sam_; 04-02-2007 at 07:05 PM.

  3. #3
    Member
    Join Date
    Feb 2003
    Posts
    112

    Default

    I don't have any folders on 777. That's the weird thing. Plus ALL my clients are affected.

  4. #4
    Member
    Join Date
    Feb 2007
    Posts
    79

    Default

    do they have anything to controll php in .htaccess files? if so they will have to be put in a php.ini file insread of htaccess

  5. #5
    Member
    Join Date
    Feb 2003
    Posts
    112

    Default

    What does that have to do? It used to work just fine. But now it doesn't anymore. And all we've moved is compilation through easyapache.

  6. #6
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    phpSuExec gives you the advantage of being able to track script executions better
    because all scripts are run as the account owner name instead of nobody.

    There are some things to note though:

    1. Php_flag and php_admin commands in .htaccess will not work under PhpSuExec
    and you will throw an error 500 if you have any in your .htaccess file.

    2. Php overrides can be put into a custom php.ini for the account. This is actually
    a downside and security vulnerability for phpSuExec and the one drawback for
    having phpSuExec but the advantages usually outweigh the disadvantages.

    3. Under phpSuExec, no folder can be globally writable so don't set anything to 777.
    You will need to set all folders under your /public_html to 755 or you will throw
    an access error from your web server.

    4. There is a minor performance degradation switching to phpSuExec.


    Now for those using Apache 2, you can use SuPHP instead of phpSuExec which
    gives you all the benefits of phpSuExec without the downsides and doesn't have
    any of the vulnerabilities or weaknesses of phpSuExec.

Similar Threads & Tags
Similar threads

  1. Replies: 2
    Last Post: 06-07-2011, 08:32 PM
  2. Internal Server Error 500 + mod_GeoIP Custom Module after install with EasyApache
    By jameshurrell in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 02-18-2011, 12:42 AM
  3. EasyApache Internal Server Error
    By wledbetter in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 06-15-2009, 03:20 PM
  4. Internal Server Error with phpsuexec enabled
    By rainbows in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-29-2004, 06:02 AM
  5. Internal server error with phpsuexec
    By drhonk in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-08-2003, 09:06 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube