Resolved. The FreeBSD PHP port has been split, so php4-extensions need to be installed. The SquirrelMail port installs them.
However, you also need to comment out the extensions_dir line in php.ini, which I wasn't aware of. Commenting this line out let Apache find them without troubles, and logins started working again. There's a php.conf file and an extensions.ini file containing all the compiled extensions (gettext.so, etc.) and I assume it replaces php.ini's extensions_dir directive. A PITA, but things are working great now. Mike On Sat, 11 Dec 2004 15:36:46 -0600, Mike Oliveri <[EMAIL PROTECTED]> wrote: > I'm getting closer -- found this in the httpd error log: > > [Sat Dec 11 15:30:38 2004] [error] PHP Fatal error: Call to undefined > function: session_id() in > /usr/local/www/data/webmail/functions/global.php on line 293 > > According to the SquirrelMail FAQ, I need to use --enable-session when > building PHP. Anyone know how to force that in FreeBSD? I didn't see > anything in the Makefile that indicated it... > > > > Mike > > On Sat, 11 Dec 2004 15:17:15 -0600, Mike Oliveri <[EMAIL PROTECTED]> wrote: > > I just tried some reconfiguring, and didn't have much luck. Here's the > > output of the diff, run after I took out the virtual host listing for > > webmail.uti.com. The only difference, basically, is the modules and > > the VirtualHost container. The current version is the one not using > > the VirtualHost container. > > > > su-2.05b# diff httpd.conf httpd.conf.bak > > 238c238 > > < LoadModule php4_module libexec/apache/libphp4.so > > --- > > > #LoadModule php4_module libexec/apache/libphp4.so > > 278c278 > > < AddModule mod_php4.c > > --- > > > #AddModule mod_php4.c > > 1115,1119c1115,1119 > > < #<VirtualHost 204.248.52.4> > > < #ServerAlias webmail.uti.com > > < #DocumentRoot /usr/local/www/data/webmail > > < #DirectoryIndex index.php > > < #</VirtualHost> > > --- > > > <VirtualHost 204.248.52.4> > > > ServerAlias webmail.uti.com > > > DocumentRoot /usr/local/www/data/webmail > > > DirectoryIndex index.php > > > </VirtualHost> > > > > I'm thinking the problem has to do with the email packages (imap-uw, > > cclient, etc.) as we were having a trouble with the authentication for > > our SMTP server (Exim), and SquirrelMail worked fine until this > > morning and we started troubleshooting the SMTP. The other packages > > we're messing with besides Exim itself is cyrus-sasl. Don't know if > > that can affect it or not. > > > > Also, I seem to remember at some point in the past having to tell PHP > > to include cclient support. That never showed up this time. Could that > > be the problem? Anyone know how to make that happen again for FreeBSD? > > > > Mike > > > > > > > > > > On Sat, 11 Dec 2004 14:32:35 -0600, Marc Powell <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] > > > [mailto:squirrelmail- > > > > [EMAIL PROTECTED] On Behalf Of Mike Oliveri > > > > Sent: Saturday, December 11, 2004 1:43 PM > > > > To: [EMAIL PROTECTED] > > > > Subject: [SM-USERS] Login page comes up blank > > > > > > > > We did some upgrades on our server last night, and everything worked > > > > fine. Suddenly this morning we are getting a blank page every time we > > > > go to the login page. (See www.uti.com/webmail) > > > > > > > > We're using FreeBSD 4.9 with imap-uw as the IMAP server > > > > also using PHP 4.3.9 and the cclient is installed > > > > > > > > Any ideas what I should be looking for or what can cause this? > > > > > > Looks to be a web server misconfiguration to me. www.uti.com/webmail > > > results in a permanent redirect to jules.uti.com/webmail. > > > jules.uti.com/webmail results in a temporary redirect back to > > > www.uti.com/webmail. I would do a diff between your old httpd.conf file > > > and the new to see what's changed. > > > > > > firewall~# telnet www.uti.com 80 > > > Trying 204.248.52.4... > > > Connected to www.uti.com. > > > Escape character is '^]'. > > > GET /webmail HTTP/1.0 > > > Host: www.uti.com > > > > > > HTTP/1.1 301 Moved Permanently > > > Date: Sat, 11 Dec 2004 20:23:10 GMT > > > Server: Apache/1.3.33 (Unix) PHP/4.3.9 > > > Location: http://jules.uti.com/webmail/ > > > Connection: close > > > Content-Type: text/html; charset=iso-8859-1 > > > > > > firewall~# telnet jules.uti.com 80 > > > Trying 204.248.52.4... > > > Connected to jules.uti.com. > > > Escape character is '^]'. > > > GET /webmail HTTP/1.0 > > > Host: jules.uti.com > > > > > > HTTP/1.1 302 Found > > > Date: Sat, 11 Dec 2004 20:25:49 GMT > > > Server: Apache/1.3.33 (Unix) PHP/4.3.9 > > > Location: http://www.uti.com/webmail > > > Connection: close > > > Content-Type: text/html; charset=iso-8859-1 > > > > > > -- > > > Marc > > > > > > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [EMAIL PROTECTED] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
