← Back to Knowledge Base
Dedicated Server · November 2, 2021 · 1 min read

SoftException in Application.cpp

When accessing web site, you receive Internal Server Error within the web application. When observing error logs on server, you’ll 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

Under public_html, this is because of incorrect ownership on files/directories. You’ll have to update the ownership of files. Login to your server via SSH. The command can updated ownership on files/directories recursively under /home/user/public_html.

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

By accessing the server, you can update the ownership yourself. If you own a VPS hosting OR Dedicated server, you’ll be ready to update the ownership as root.