Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2003 21:37:17 +0200
From:      Thierry Thomas <thierry@pompo.net>
To:        ports@freebsd.org
Subject:   Re: New mod_php4 problem
Message-ID:  <20030609193717.GB23805@graf.pompo.net>
In-Reply-To: <041101c32eba$1988db20$1abcd118@wi.rr.com>
References:  <041101c32eba$1988db20$1abcd118@wi.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Lun  9 jui 03 à 21:05:31 +0200, Chris Byrnes <chris@JEAH.net>
 écrivait :
> Didn't notice that my company's webmail system (PHP-driven) just completely
> stopped working until I got an e-mail this morning (2 days later).  It says:
> "Fatal error: Call to undefined function: session_start() in
> /usr/home/www/webmail/functions.php on line 7" and that's it.

Have you enabled sessions ? (WITH_SESSION) It is enabled by default (see
lang/php4/pkg-message), but you may have disabled it by accident. It's
possible to check your options with a phpinfo(); it will list your
"Configure Command", and you should find '--enable-session' and then a
special block for sessions with
Session Support 	enabled
Registered save handlers 	files user

If not, consider rebuilding your port.

Regards,
-- 
Th. Thomas.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030609193717.GB23805>