[imp] problem setting up RC3

Jan Schneider jan@horde.org
Thu, 20 Dec 2001 10:37:47 +0100


Zitat von Aaron Solochek <aarons@aberrant.org>:

> I can't figure out where its getting set to 0.  It was being set in an 
> apache config file to /var/tmp/imp, which doesn't exist, so I changed
> it:
> 
> php_flag session.save_path /tmp
> 
> It's also being set here:
> 
> sausage:/etc/php4#grep -r save_path *
> apache/php.ini:session.save_path = /tmp
> cgi/php.ini:session.save_path = /tmp
> 
> 
> However, it's still 0 after I restarted apache.
> 
> Any other places I might check?

As the local and the master value of session.save_path differ in your 
phpinfo page, is there a chance that you have a .htaccess file lying around?

> Brent J. Nordquist wrote:
> 
> > On Wed, 19 Dec 2001, Aaron Solochek <aarons@aberrant.org> wrote:
> > 
> > 
> >>the site is https://www.aberrant.org/imp
> >>
> > 
> > OK, that's somewhat helpful.  I went to:
> > 
> > 	http://www.aberrant.org/horde/test.php
> > 
> > The first thing to note is that when you reload the page, that little
> 
> > session counter with the "1" isn't incrementing.  That appears to be 
> > because PHP's session handling isn't configured correctly:
> > 
> > 	http://www.aberrant.org/horde/test.php?mode=phpinfo
> > 
> > Look under the "session" section at session.save_path and see that it's
> 
> > set to "0" instead of "/tmp".  You'll definitely need to fix that, if
> 
> > nothing else.  Figure out where that's getting set (Apache configs or
> 
> > php.ini file).
> > 
> > 
> >>http will work for /horde, but there is no /imp link on the non secure
> 
> >>server.
> >>
> > 
> > Hm.  Not sure quite what you mean, but make sure that imp is
> contained
> > within the horde directory, either:
> > 
> > 	http://www.aberrant.org/horde/      ->  horde/
> > 	http://www.aberrant.org/horde/imp/  ->  horde/imp/
> > 
> > or:
> > 
> > 	http://www.aberrant.org/      ->  horde/
> > 	http://www.aberrant.org/imp/  ->  horde/imp/
> > 
> > Your configuration files will differ for those two cases, of course;
> just 
> > be consistent.  You don't want this, e.g.:
> > 
> > 	http://www.aberrant.org/horde/  ->  horde/
> > 	http://www.aberrant.org/imp/    ->  horde/imp/
> > 
> > 
> 
> 
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 
> 


Jan.

::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::