Apache running as root!

I created a new user called 'manager' to run apache as, but if i put
PHP Code:
<? echo get_current_user(); ?>
in a page, it shows me as running as root.

I have changed the lines in httpd.conf to show manager as the user and group.

Solved it! i chowned everything in accmanager/ to manager and now it runs as manager.

Only thing is, that now sessions dont work!
I get :

Warning: session_start() [function.session-start]: open(/tmp/sess_aa1484aaaa3e74df726982cff0a585fd, O_RDWR) failed: Permission denied (13) in /usr/local/accmanager/cp/auth.php on line 2

 

 

 

 

Top