Re: 404 After Setting session.save_path to /tmp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux