Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    hmm
    hmm is offline
    Member hmm's Avatar
    Join Date
    Jan 2006
    Location
    India
    Posts
    56

    Default URGENT: sites doesnt load properly with PHPSuexec

    Hi,
    I just recomplied apache with PHPSuexec option enabled. But now the issue is, sites are not loading properly. i.e. it does not load the images, css files etc...

    I have already ran the script /scripts/chownpublichtmls but nothing works..

    Can anyone just give me some pointers?

    Deep

    P.S. I tried to recomplie apache without phpsuexec option but after doing that apache fails and nothing works at all.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge TSJasonH's Avatar
    Join Date
    Nov 2003
    Location
    Chicago, IL
    Posts
    34

    Lightbulb

    Chances are that your php app doesn't support php in cgi mode. First check to make sure that you chmod 755 to your php script because now they will be executed as your user instead of being called and parsed via libphp in apache.

    If you want to disable phpsuexec you should be able to edit your httpd.conf and reactivate (remove the leading '#') the LoadModule and AddModule lines for libphp, and restart apache.

    If you changed your php version while running easyapache + phpsuexec you should run it again without phpsuexec to make sure that the libphp.so get's updated to the same version of your binary.
    Regards,
    Jason H.
    TouchSupport LLC
    http://www.touchsupport.com
    24/7 Tech Support and Server Administration

  3. #3
    hmm
    hmm is offline
    Member hmm's Avatar
    Join Date
    Jan 2006
    Location
    India
    Posts
    56

    Default

    Hi,
    Thanks for the help but I just got it fixed by paying servertune.com (Andy)

    He fixed the issue.

    Thanks again for the help.

    Regards,
    Deep

  4. #4
    Member
    Join Date
    Apr 2003
    Posts
    193

    Default

    What was the issue?

  5. #5
    hmm
    hmm is offline
    Member hmm's Avatar
    Join Date
    Jan 2006
    Location
    India
    Posts
    56

    Default

    Quote Originally Posted by budway
    What was the issue?
    Hi,
    The issue was with corrupt syntax in some conf file. Andy checked it and fixed it.

    Deep

Similar Threads & Tags
Similar threads

  1. Exclude sites from phpSuExec
    By westhost-neil in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 10-12-2006, 04:42 PM
  2. phpsuEXEC - causes 500 errors on some sites
    By trigger hippy in forum cPanel and WHM Discussions
    Replies: 18
    Last Post: 08-25-2006, 11:47 AM
  3. httpd doesnt start properly
    By VirtuaLira in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 04-27-2006, 04:21 PM
  4. phpsuexec help urgent
    By shann in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-05-2005, 12:35 PM
  5. Urgent Help! Accounts are not being created properly!
    By bert in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-21-2002, 09:26 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube