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

The error message "Error: SoftException in Application(dot)cpp:303 UID of script is small than min_uid" means that the script that is causing the error is owned by a user with a lower UID than the minimum UID that is allowed. This can happen if the script was uploaded by a user with a lower UID, or if the permissions on the script file were changed.

GID errors can also occur.

You can receive such an error if the ownership of your files are not setup properly.

To correct the issue be sure the ownership of your files are correct. To do so, use the
To fix this issue, make sure you have correct user and group ownership for the file that you are trying to access. With our service you would want to use the following:

chown usernmame:username filename.php

or to update the entire account use the following:

chown username:username * -R

 

To fix this error, you need to change the ownership of the script file to a user with a UID that is equal to or greater than the minimum UID. You can do this using the chown command. For example, if the minimum UID is 100, you would run the following command:

 

chown 100 script.php

 

Once you have changed the ownership of the script file, the error should be resolved.

Here are some additional things to check if you're still getting the error after changing the ownership of the script file:

 

  • Make sure that the script file has the correct permissions. The permissions should be set to 644 or 755.

  • Make sure that the PHP process is running with the correct user ID. The PHP process should be running with the same user ID as the user who owns the script file.

  • If you're using a content delivery network (CDN), make sure that the CDN is configured to serve the script file with the correct permissions.

 

If you've checked all of these things and you're still getting the error, contact Ultra Web Hosting for assistance.

  • 173 Users Found This Useful

Was this answer helpful?

Related Articles

How do I change my PHP settings?

How do I change my PHP / PHP.INI settings?To change your PHP settings, just login to your hosting...

How can I parse html as php?

Create an .htaccess file and upload it to the root of your public_html directory. Include the...

How do I add a user to a MariaDB & MySQL database?

There are two ways to add a user to a MySQL database with Ultra Web Hosting:   Using...

What port is MariaDB - MySQL on?

MariaDB and MySQL, two popular open-source relational database management systems (RDBMS), use...

How do I update my version of PHP?

PHP needs to be updated. What do I do?We make changing your version of PHP easy. Simply login to...