Re: 404 After Setting session.save_path to /tmp

From: Date: Thu, 18 May 2006 00:44:49 +0000
Subject: Re: 404 After Setting session.save_path to /tmp
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.general 
Request: Send a blank email to php-general+get-236373@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?
service httpd restart
Rebooting will most likely pick up the /etc/init.d/apache or /etc/init.d/httpd script.
Have this in /etc/rc.local on Fedora 5, startApache=/usr/local/apache2/bin/apachectl if [ -f "$startApache" ] ; then
        $startApache start
fi and I see that I have left off start at the end of startApache.
There's your problem. service httpd restart will most likely restart /usr/sbin/httpd. That's not the same as /usr/local/apache2 Remove the rpm to save confusion next time: rpm -e httpd then when you need to restart, always use the /usr/local/apache2/bin/apachectl file. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#236373) next »