Re: 404 After Setting session.save_path to /tmp

From: Date: Wed, 17 May 2006 07:00:08 +0000
Subject: Re: 404 After Setting session.save_path to /tmp
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-236325@lists.php.net to get a copy of this message
Chris wrote:
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 Hi All,
ok, created dir, added htdocs user/group and changed ownership of dir to them. Thing I'm gettin is, every time I make an adjustment to either php.ini or httpd.conf, and do a restart, I keep getting a 404 error for all pages. Which only corrects when doing a reboot of the box. This was happening before I just followed your last steps. Thoughts? Cheers. Mark Sargent.

« previous php.general (#236325) next »