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:

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/

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