Average Joe (tmtl) wrote in php,
Average Joe

Mambo on FreeBSD 5.3

I'm having a few problems getting Mambo working on FreeBSD 5.3

Whenever I try to log in to the administrators account, with a valid username\password, you get presented with the same screen with the username\password boxes still filled in. /var/log/messages states "Feb 23 17:42:42 linux kernel: pid 15803 (httpd), uid 1006: exited on signal 11"

Nothing is written to the Apache access or error logs

If I try to log in with an invalid combo, a JavaScript popup tells me I got either the username or password wrong. So, the authentication is sort-of happening

The only useful thread I've found on the Mambo forums was this one. Which states "To all who have this issue, it is a problem with duplicate extension entries in your php.ini"

All I have in my php.ini that contains references to extension are:

extension_dir = "/usr/local/lib/php/20020429/"

So there aren't any duplicates

I really don't know much about setting PHP up. Does anyone have any pointers?

I seem to remember having this problem in the past with Gallery, and the issue was resolved by installing php4-extensions

Here's the version of all PHP stuff I have installed:

# portversion -v | grep php
mod_php4-4.3.10_2,1         =  up-to-date with port
php4-bz2-4.3.10_2           =  up-to-date with port
php4-ctype-4.3.10_2         =  up-to-date with port
php4-extensions-1.0         =  up-to-date with port
php4-gd-4.3.10_2            =  up-to-date with port
php4-mysql-4.3.10_2         =  up-to-date with port
php4-openssl-4.3.10_2       =  up-to-date with port
php4-overload-4.3.10_2      =  up-to-date with port
php4-pcre-4.3.10_2          =  up-to-date with port
php4-posix-4.3.10_2         =  up-to-date with port
php4-session-4.3.10_2       =  up-to-date with port
php4-snmp-4.3.10_2          =  up-to-date with port
php4-tokenizer-4.3.10_2     =  up-to-date with port
php4-xml-4.3.10_2           =  up-to-date with port
php4-zlib-4.3.10_2          =  up-to-date with port
phpMyAdmin-2.6.1            =  up-to-date with port

Any pointers would be most appreciated!

Update: Sorted. It seems that I did have 2 entries for session.so. One was in /usr/local/etc/php.ini and the other was in /usr/local/etc/php/extension.ini

I commented one out, and it started working

Leaving this entry in-tact, just in case anyone else has the same problem
  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.