The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Internal Error on load php files - CentOS

Discussion in 'General Discussion' started by GuttoSP, Jan 2, 2014.

  1. GuttoSP

    GuttoSP Registered

    Joined:
    Jan 2, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    I have cPanel / WHM installed on CentOS, and whenever I try to access files *.php error Internal Server Error is displayed.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,830
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please review the Apache error log (/usr/local/apache/logs/error_log) to determine the exact cause of the internal server error message. You can post the output (of the specific error, not the entire log) here for review.

    Thank you.
     
  3. GuttoSP

    GuttoSP Registered

    Joined:
    Jan 2, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Log content:

    Code:
    [Thu Jan 02 15:29:23 2014] [error] [client 111.222.333.444] File does not exist: /home/user/public_html/sys_cpanel, referer: http://mysite.com/phpinfo.php
    [Thu Jan 02 15:29:24 2014] [error] [client 111.222.333.444] SoftException in Application.cpp:357: UID of script "/home/user/public_html/phpinfo.php" is smaller than min_uid, referer: http://mysite.com/
    [Thu Jan 02 15:29:24 2014] [error] [client 111.222.333.444] Premature end of script headers: phpinfo.php, referer: http://mysite.com/
    [Thu Jan 02 15:29:24 2014] [error] [client 111.222.333.444] File does not exist: /home/user/public_html/sys_cpanel, referer: http://mysite.com/phpinfo.php
    [Thu Jan 02 15:29:54 2014] [notice] caught SIGTERM, shutting down
    [Thu Jan 02 15:31:37 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
    [Thu Jan 02 15:31:37 2014] [notice] Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 configured -- resuming normal operations
    [Thu Jan 02 15:44:28 2014] [error] [client 111.222.333.444] SoftException in Application.cpp:357: UID of script "/home/user/public_html/phpinfo.php" is smaller than min_uid, referer: http://mysite.com/
    [Thu Jan 02 15:44:28 2014] [error] [client 111.222.333.444] Premature end of script headers: phpinfo.php, referer: http://mysite.com/
    [Thu Jan 02 15:44:28 2014] [error] [client 111.222.333.444] File does not exist: /home/user/public_html/sys_cpanel, referer: http://mysite.com/phpinfo.php
     
  4. GuttoSP

    GuttoSP Registered

    Joined:
    Jan 2, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    The error was simple. Was trying to access files created by root, with users who lacked permission. Sufficed connect via ftp with user resale only, NOT the root, upload the files to the server and it worked perfectly.

    Tnk's
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,830
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page