Internal Error Error UID of script is smaller than min_uid

1

When I enter the page I am developing, the following error appears:

  

Internal Server Error

     

UID of script "/home/httpd/html/index.php" is smaller than min_uid

     

suPHP 0.7.2

Does anyone know what it can be and how to solve it?

    
asked by anonymous 26.10.2015 / 13:37

1 answer

3

As this answer in the SOen

This seems like a problem with suPHP .

  

Change the user and group of your script to the user running your   webserver process. So if you're running an Apache with www-data user   for example, change to:

Change the user and group of your script to the user who is running your web server process. For example, if you are running an Apache with the www-data user for example, change to:

chown www-data:www-data /home/.../public_html/index.php

Or change all files at once:

chown -R www-data:www-data /home/.../public_html/

If you still have this problem after changing the user and group then probably suPHP is using the default value of min_uid = 100 , the www-data UID must be less than 100.

To correct this you can change the min_uid in the settings of the corresponding suPHP pro of the www-data UID:

To edit:

vi /etc/suphp/suphp.conf

min_uid = <UID of www-data>

If you do not have SSH access and this is a hosting or other type of online server, you may have to contact support or the server administrator.

    
26.10.2015 / 15:38