For those of you who don't already know... when you SCP or copy files from another server, ex. a backup drive, then sometimes the apache error log will show:
SoftException in Application.cpp:296: UID of script "/home/blah/domains/blah.com/public_html/index.php" is smaller than min_uid
the above /home/blah/domains/blah.com/public_html/index.php is only an example...
When this happens you only need to ssh to the server and change the owner and group.
for the above example, the user is 'blah'
for the files that wont work, they may have a different group/owner... you can check by doing
ls -l
so change the group and ownership of all the files you copied to blah
example:
chown -R blah:blah /home/blah/domains/blah.com/public_html
do another ls -l and you will see the groups of the files change as well as the owners
test your files out, they should then work
Oh, when you attempt to access a script that places this error in the apache error log, you generally will get a error 500 in the browser...
Hope this helps, because there are not a lot of posts about this anywhere
SoftException in Application.cpp:296: UID of script "/home/blah/domains/blah.com/public_html/index.php" is smaller than min_uid
the above /home/blah/domains/blah.com/public_html/index.php is only an example...
When this happens you only need to ssh to the server and change the owner and group.
for the above example, the user is 'blah'
for the files that wont work, they may have a different group/owner... you can check by doing
ls -l
so change the group and ownership of all the files you copied to blah
example:
chown -R blah:blah /home/blah/domains/blah.com/public_html
do another ls -l and you will see the groups of the files change as well as the owners
test your files out, they should then work
Oh, when you attempt to access a script that places this error in the apache error log, you generally will get a error 500 in the browser...
Hope this helps, because there are not a lot of posts about this anywhere