Re: PHP Sessions Not Saving
| From: | Jonathan Wright | Date: | Tue, 04 Feb 2003 10:22:09 +0000 |
| Subject: | Re: PHP Sessions Not Saving | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134236@lists.php.net to get a copy of this message | ||
At around Tue, Feb 04, 2003 at 02:06:35PM +0800, Jason Wong constructed the following notation:
> > >
> > > Recompile, why? How about a link?
> > >
> > > ln -s /sbin/sendmail /usr/sbin/sendmail
> >
> > During the ./configure part of the installation, PHP checks for
> > sendmail, but only in /sbin/sendmail. If it doesn't find it, the
> > function mail() isn't complied in.
> >
> > I just get 'call to undefined function mail()' in x/y.php on z.
>
> But according to the manual configure should check both locations?
I can't remember where i saw it (i think it was on a mailing list), but
someone said it'll only check /sbin/sendmail, which seams to be the
case. sendmail.path is set to '/usr/sbin/sendmail' in php.ini, but that
doesn't has an effect.
well, either way it hasn't been compiled in so a recompile will be
needed. it's only a 10 minute job anyway.
--
jonathan wright mail@djnauk.co.uk | www.djnauk.co.uk
--
life has no meaning unless we can enjoy what we've been given