Errors & Troubleshooting

Error: SoftException in Application(dot)cpp:303 UID of script is small than min_uid

Updated November 2026 9,867 views 3 min read
Errors & Troubleshooting | Updated November 2026

The "SoftException in Application.cpp: UID of script is smaller than min_uid" error means a PHP or CGI script is owned by the wrong user. On shared hosting under CloudLinux, a script must be owned by your own cPanel account to run, so when a file is owned by root or another user, the server refuses to execute it. The fix is to correct the file ownership.

01. What the Error Means

CloudLinux enforces a minimum user ID (min_uid) that scripts must meet to run, which keeps scripts from executing as privileged system users. A normal account user is above that threshold; root and system accounts like nobody are below it. When a script in your account is owned by one of those low-UID users, it falls under min_uid and the server blocks it with this error, usually surfacing as a 500 error for visitors.

02. What Causes Wrong Ownership

  • Files created by root - a server-side process or a previous admin created files as root.
  • Restored from a backup made on a different account or server that preserved the old ownership.
  • Extracted from an archive that kept the original owner IDs.
  • Uploaded by the wrong user during a manual migration.

03. How to Fix It

Over SSH, reset ownership to your account and set sane permissions:

chown -R $USER:$USER ~/public_html
find ~/public_html -type d -exec chmod 755 {} \;
find ~/public_html -type f -exec chmod 644 {} \;

If you do not have SSH access, you cannot change ownership from cPanel File Manager - open a ticket and we will correct it across your account.

04. Why Not Just Use 777

Important

Do not set files to 777 to try to work around this. The error is about ownership, not permissions, so 777 does not fix it and leaves your files world-writable, which is a serious security risk. Correct the owner with chown instead.

Need Ownership Fixed?

Open a ticket and we will correct file ownership across your account.

Open a Support Ticket

Frequently Asked Questions

What does UID of script is smaller than min_uid mean?

A script in your account is owned by a low-UID user such as root or nobody, below the minimum user ID CloudLinux requires to run scripts. The server blocks it, which usually shows as a 500 error. Scripts must be owned by your own cPanel account.

How do I fix the SoftException min_uid error?

Reset ownership to your account: over SSH run chown -R $USER:$USER ~/public_html, then set directories to 755 and files to 644. If you do not have SSH, open a ticket since ownership cannot be changed from File Manager.

Why are my files owned by the wrong user?

Usually a restore from another account or server, an archive that preserved old owner IDs, files created by root, or a manual upload as the wrong user. The fix is the same: chown everything back to your account.

Will setting 777 fix this error?

No. The problem is ownership, not permissions, so 777 does not resolve it and makes the files world-writable, which is a security risk. Use chown to set the correct owner and keep 755/644 permissions.

Quick Recap

  1. Error means wrong ownership - files owned by root or another user.
  2. Fix with chown - chown -R $USER:$USER ~/public_html.
  3. Set permissions - 755 directories, 644 files.
  4. Common after a restore or archive extraction.
  5. Never use 777 - it does not fix ownership.

Server error troubleshooting · Last updated November 2026 · Browse all Error articles

Share: X in Reddit f Email
  • 173 Users Found This Useful

Was this answer helpful?

Related Articles

Premature end of script headers

Errors & Troubleshooting | Updated January 2026 "Premature end of script headers" is an...

Why a TLS Checker May Report Your Mail Server Does Not Support TLS

Email and Webmail | Updated October 2026 If an online SMTP or email diagnostic tool warns...

How to Clean Malware from a Hacked Website (Non-WordPress)

Errors & Troubleshooting | Updated July 2026 If your Joomla, Drupal, custom PHP, or plain...

Cloudflare Error 522: Connection Timed Out

Errors & Troubleshooting | Updated November 2026 Cloudflare Error 522: Connection Timed...

ModSecurity Blocked a Legitimate Request: How to Get It Whitelisted

Errors & Troubleshooting | Updated July 2026 Every Ultra Web Hosting server runs a web...



Save 30% on web hosting - Use coupon code Hosting30