Hey there..! And thanks for visiting my thread!
I have compiled Apache with suPHP module built-in.
I thought the "wwwrun" user (which Apache runs under) had to be below UID 100, so I set wwwrun to 15. Then I got this error:
Code:
UID of </path/to/phpfile.php> or its target (15 / wwwrun) < 100
The php file is owned by root and have the following permissions: -rwxr-xr-x
So I changed UID and GID of wwwrun to 501 and 502.
Now I get the following error:
Code:
Could not get passwd information for UID 15
System error: getpwuid() failed (Success)
I guess this is because no user with UID 15 exists (anymore).
I tried recompiling suPHP --with-apache-user=wwwrun to see if it'd change the UID it's trying to get but it doesn't. Yes, I deleted the original /usr/sbin/suphp file before "make install".
Some help would be greatly appreciated: How do I change the UID value?