Re: 404 After Setting session.save_path to /tmp

From: Date: Wed, 17 May 2006 06:14:35 +0000
Subject: Re: 404 After Setting session.save_path to /tmp
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-236324@lists.php.net to get a copy of this message
Mark Sargent wrote:
Chris wrote:
I should say check your httpd.conf file for "User" and "Group" - they are capitalized. Alternatively: ps aux | grep httpd
yes, did that one and see it as starting as root, then goijg to daemon. Now, if I add daemon to the root group, isn't that a security issue? Should I create a new group? Little confused? Cheers.
Big security issue - don't do it.
ps au | grep apache
root      .... /usr/sbin/apache
htdocs    .... /usr/sbin/apache
htdocs    .... /usr/sbin/apache
My apache is running as "htdocs". So as root create a temp folder and chown it to "htdocs": mkdir /my_temp_dir chown htdocs. /my_temp_dir Done. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#236324) next »