6

php scripts are running under apache uid

view full story
linux-howto

http://serverfault.com – I have a vps, running directadmin with apache 2 and php 5. It all worked fine, until today, since i discovered that PHP scripts are executed under apache:apache, and not under file's owner uid. This screwed up the entire system, but the main problem is that I can't figure out WHY would suphp stop working suddenly?? Some info: root # php -v PHP 5.2.17 (cli) (built: Aug 17 2011 21:02:28) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies httpd.conf User apache Group apache ... <Directory "/var/www/html"> Options -Indexes FollowSymL (HowTos)