Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Mar 2003
    Location
    Toronto, Ontario
    Posts
    65

    Default 500 internal server errors -- help

    Hi,

    I recently transferred accounts over a to a new server..

    Followed this method:
    http://forums.cpanel.net/showthread....rring+accounts

    Now, I'm getting a lot of internal server errors with a lot of php scripts.

    In the logs, I'm getting
    Premature end of script headers:

  2. #2
    Member
    Join Date
    Mar 2003
    Location
    Toronto, Ontario
    Posts
    65

    Default

    Also getting.

    failed to open log file
    fopen: Permission denied
    [Tue Jul 26 22:44:42 2005] [error] [client ******] Premature end of script headers: /home/*****/public_html/links/directory

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Re-compile Php. That should solve this problem, if not PM me.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  4. #4
    Member
    Join Date
    Mar 2003
    Location
    Toronto, Ontario
    Posts
    65

    Default

    I recompiled php... still same problem.

    now, i'm noticing that the server loaded increases when practially any php page is opened.. ie any page phpbb causes the server load to increase to over 1. when 1 visitor opens the page.

  5. #5
    Member kaosent's Avatar
    Join Date
    Jul 2005
    Posts
    44

    Default

    Do you have phpsuexec enabled in the new build?

    I got hundreds of php 500 server errors (on nearly every script I had) when I transferred my accounts over to a cpanel server. Perhaps it could be something as simple as ensuring the files have the proper ownership?

    I used the material in this post to help me set the proper permissions and ownership: http://forums.cpanel.net/showthread....ight=phpsuexec
    And haven't had an issue w/ php files since.

Similar Threads & Tags
Similar threads

  1. suPHP and 500 Internal Server Errors
    By petteyg359 in forum cPanel and WHM Discussions
    Replies: 54
    Last Post: 03-30-2011, 06:25 AM
  2. Internal Server Errors (500) after editing httpd.conf
    By tmbw.net in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-15-2010, 02:19 PM
  3. Replies: 3
    Last Post: 06-03-2009, 09:47 AM
  4. 500 Internal Server Errors all of a sudden
    By fishfreek in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 04-16-2009, 04:54 PM
  5. Mailing list gives 500 Internal Server errors?
    By fog in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-30-2003, 02:42 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube