If you see the below error in your logs then that means that the script is owned by a user (generally root) instead of the actual user.
SoftException in Application.cpp:303: UID of script “/location/path/.php” is smaller than min_uid
You can receive similar error when you have a wrong group name, in this case instead of UID, you will have GID in the error.
To fix this issue, make sure you have correct user and group ownership for the file that you are trying to access. Ownership can be changed using the below:
chown usernmame:groupname filename.php
Please fill in your email address to get most latest updates.