Re: 404 After Setting session.save_path to /tmp
| From: | Chris | Date: | Wed, 17 May 2006 07:24:11 +0000 |
| Subject: | Re: 404 After Setting session.save_path to /tmp | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-236327@lists.php.net to get a copy of this message | ||
Mark Sargent wrote:
Chris wrote: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/Big security issue - don't do it.ps au | grep apacheHi 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.root .... /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