Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2004 03:07:10 -0600
From:      Mike Oliveri <moliveri@gmail.com>
To:        Paul Schmehl <pauls@utdallas.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SquirrelMail woes
Message-ID:  <1e58dbf604121201071b9b957c@mail.gmail.com>
In-Reply-To: <2147483647.1102819834@192.168.2.101>
References:  <1e58dbf604121114253bc31694@mail.gmail.com> <2147483647.1102819834@192.168.2.101>

next in thread | previous in thread | raw e-mail | index | archive | help
> > [Sat Dec 11 16:14:58 2004] [error] PHP Fatal error:  Call to undefined
> > function:  session_id() in
> > /usr/local/www/data/webmail/functions/global.php on line 293
> >
> > The SquirrelMail wiki says to rebuild PHP with --enable-session, and
> > also has the suggestion session.file_handler set to "files" (I assume
> > it means session-save_handler as that's all I found). If I run
> > pkg_version -v, here's what it has to say about PHP, so I assume
> > php-session is the equivalent of compiling with --enable-session:
> >
> This appears to be a case of not reading /usr/ports/UPDATING.  The php port
> was altered not too long ago, and the extensions were moved to a separate
> port.  You need to install both php4 *and* php4-extensions.  Then you'll
> have to reinstall squirrelmail.  Also, make sure you comment out the
> extensions_dir variable in php.info.

Actually, I do have php4-extensions installed -- most were installed
via SquirrelMail and I added php4-imap to the list. Here's a full list
of the extensions I have installed:

hp4-4.3.9_1                        =   up-to-date with port
php4-ctype-4.3.9_1                  =   up-to-date with port
php4-extensions-1.0                 =   up-to-date with port
php4-gettext-4.3.9_1                =   up-to-date with port
php4-imap-4.3.9_1                   =   up-to-date with port
php4-mbstring-4.3.9_1               =   up-to-date with port
php4-mhash-4.3.9_1                  =   up-to-date with port
php4-mysql-4.3.9_1                  =   up-to-date with port
php4-openssl-4.3.9_1                =   up-to-date with port
php4-overload-4.3.9_1               =   up-to-date with port
php4-pcre-4.3.9_1                   =   up-to-date with port
php4-posix-4.3.9_1                  =   up-to-date with port
php4-session-4.3.9_1                =   up-to-date with port
php4-tokenizer-4.3.9_1              =   up-to-date with port
php4-xml-4.3.9_1                    =   up-to-date with port
php4-zlib-4.3.9_1                   =   up-to-date with port

You mention php.info -- I have a php.conf with a directive PHP_EXT_DIR=20020429
Is this what needs to be commented out? 

Thanks,
Mike



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