Mark Sargent wrote:
Jochem Maas wrote:
NO - DONT EVER DO THIS!!!! tmp/session files should not be stored in a
directory that
can be [potentially] read via http.
.htaccess directives can be used to block access to the dir BUT I
still would recommend
keeping 'tmp' outside of the web root.
just make sure 'tmp' is writable by the user the webserver is running as.
Hi All,
thanx. How do I determine what user httpd is running as? Cheers.
I should say check your httpd.conf file for "User" and "Group" - they
are capitalized.
Alternatively:
ps aux | grep httpd
or
ps aux | grep apache
the first column is the user it's running as.
or lastly, probably the quickest way, create a phpinfo page and look for
User/Group
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php