Mark Sargent wrote:
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.
I thought you said in earlier email that your apache was running as user
daemon. The tmp directory has to be owned by the user running apache. If
you want to run apache as user apache group apache then you will have to
edit httpd.conf and change the User and Group directives. Otherwise
chown chgrp the tmp directory to the user/group that is listed in the
httpd.conf file.
--
Ron Clark
System Administrator
Armstrong Atlantic State University
11935 Abercorn Street
Savannah, Ga 31419
Phone: 912 961 3234
Fax: 912 927 5353
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php