suPHP problem, cannot use user
I have compiled suPHP for apache to be able to run php scripts as a user other than apache, but I cannot make it to use my user to run the php script.
I have read and followed all of these:
Documentation in suphp.org
a wiki on a blog that I cannot paste here it seems
and all the documentation that comes with the suphp.tar.gz ( at least 4 times )
This is how I configured suphp before make && make install:
./configure --prefix=/usr --with-setid-mode=paranoid --with-apr=/usr/bin/apr-1-config
I Have these lines in httpd.conf:
LoadModule suphp_module /usr/lib/httpd/modules/mod_suphp.so
AddType application/x-httpd-php .php
AddHandler application/x-httpd-php .php
suPHP_UserGroup nemie users
I have tested with a test-script that php does work:
It gives me:
uid=48(apache) gid=48(apache) groups=48(apache),488(nagios)
It's on that line ( I suppose ) I want to see that it uses my user and not apache.
Have I missed something? Or is something really wrong with what I have done?