Re: PHP Sessions Not Saving
| From: | Jonathan Wright | Date: | Mon, 03 Feb 2003 22:30:08 +0000 |
| Subject: | Re: PHP Sessions Not Saving | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134189@lists.php.net to get a copy of this message | ||
At around Mon, Feb 03, 2003 at 04:20:03PM -0600, Greg Donald constructed the following notation:
> On Mon, 3 Feb 2003, Jonathan Wright wrote:
>
> >Aside from this, PHP's running like a dream. I haven't had a single
> >problem (other than mail() not working, but I found that's because I use
> >/usr/sbin/sendmail, not /sbin/sendmail, so I'll just need to recompile).
>
> 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.
--
jonathan wright mail@djnauk.co.uk | www.djnauk.co.uk
--
life has no meaning unless we can enjoy what we've been given