Re: 404 After Setting session.save_path to /tmp
| From: | Chris | 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:Big security issue - don't do it.I should say check your httpd.conf file for "User" and "Group" - they are capitalized. Alternatively: ps aux | grep httpdyes, 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.
ps au | grep apacheroot .... /usr/sbin/apache
htdocs .... /usr/sbin/apache htdocs .... /usr/sbin/apacheMy 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/