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:

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.

Sounds like you're using the wrong script to restart apache.

What command are you using?

Rebooting will most likely pick up the /etc/init.d/apache or /etc/init.d/httpd script.

--
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