MilesWeb
Leading Web Hosting Provider in India Since 2012.
Award-winning Web Hosting Company
Everything that you need to build, host and manage a website is available at just 109/mo

SoftException in Application.cpp

Share on Facebook3Share on Google+0Tweet about this on TwitterShare on LinkedIn3

When accessing website, you receive Internal Server Error in the web browser. When monitoring error logs on server, you will see logs as below.

SoftException in Application.cpp:357: UID of script “/home/user/public_html/index.php” is smaller than min_uid
Premature end of script headers: index.php

This is because of incorrect ownership on files/directories under public_html. You will have to update the ownership of files. Login to your server via SSH. The command will updated ownership on files/directories recursively under /home/user/public_html.

# cd /home/user/public_html
# chown user.user index.php

You can update the ownership yourself by accessing the server. We provide jailed shell access with our cPanel shared hosting plan. Please ask our support technicians to enable it on your account. If you own a VPS hosting OR Dedicated server, you will be able to update the ownership as root.

Save

One thought on “SoftException in Application.cpp

  • January 4, 2017 at 10:21 am
    Permalink

    On one of our client’s server, I got the error as below.

    [Wed Jan 04 16:22:58.633081 2017] [:error] [pid 4552] [client xx.xx.xx.xx:27920] SoftException in Application.cpp:632: Directory “/” is writeable by group
    [Wed Jan 04 16:22:58.633145 2017] [core:error] [pid 4552] [client xx.xx.xx.xx:27920] End of script output before headers: main.php

    The issue was with incorrect permissions on / directory. On a cPanel Linux server, the permissions should be 555 and they were set to 777. Setting them to 555 fixed the problem.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *