I'm kind of a server noob.
I'm just running httpd server which uses Nobody
as the owner of the processes. My php files are chmod
as 755
with ownership as Apache:Apache
.
It triggers this error Mismatch between target UID (99) and UID (XX) of file "/usr/local/apache/htdocs/index2.php"
I reckon I have to
- change owners (or group?) of my php scripts to Nobody or
- make httpd run its processes as Apache (for which I can't find
/etc/httpd/envvars
) - something else entirely?
Please advise.