{"id":3515,"date":"2021-11-02T06:42:43","date_gmt":"2021-11-02T06:42:43","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=3515"},"modified":"2021-11-02T06:42:43","modified_gmt":"2021-11-02T06:42:43","slug":"softexception-in-application-cpp","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/softexception-in-application-cpp\/","title":{"rendered":"SoftException in Application.cpp"},"content":{"rendered":"<p>When accessing web site, you receive Internal Server Error within the web application. When observing error logs on server, you&#8217;ll see logs as below.<\/p>\n<p><strong>SoftException in Application.cpp:357: UID of script \u201c\/home\/user\/public_html\/index.php\u201d is smaller than min_uid<br \/>\nPremature end of script headers: index.php<\/strong><\/p>\n<p>Under public_html, this is because of incorrect ownership on files\/directories. You&#8217;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.<\/p>\n<p><strong># cd \/home\/user\/public_html<br \/>\n# chown user.user index.php<\/strong><\/p>\n<p>By accessing the server, you can update the ownership yourself. If you own a VPS hosting OR Dedicated server, you&#8217;ll be ready to update the ownership as root.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When accessing web site, you receive Internal Server Error within the web application. When observing error logs on server, you&#8217;ll see logs as below. SoftException in Application.cpp:357: UID of script \u201c\/home\/user\/public_html\/index.php\u201d 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&#8217;ll have to update [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-3515","post","type-post","status-publish","format-standard","hentry","category-dedicated-server"],"_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/3515","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=3515"}],"version-history":[{"count":1,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/3515\/revisions"}],"predecessor-version":[{"id":3516,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/3515\/revisions\/3516"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=3515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=3515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=3515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}