Hey All,
So far, I'm liking this RoundCube mail client. I would like to know though, what do I need to do to get the LDAP Address Book functionality to work on Debian?
I've got roundcube working, but each attempt to use the LDAP Directory search results in an error in /var/www/roundcube/log/errors that says :
[30-Mar-2006 21:15:58 -0500] LDAP Error: No ldap support in this installation of php. in on line 0
I've installed libapache2-mod-php4 and php4-ldap from the debian repositories.
I've also used pear to download and install DB_ldap2 and Net_ldap (both beta versions) and I still get this error.
I've looked at the file program/include/rcube_ldap.inc and the error is generated by line :47 that says :
if (!function_exists('ldap_connect'))
raise_error(array("type" => "ldap",
"message" => "No ldap support in this
installation of php."), TRUE);
I don't know PHP at all or I'd be able to help here, but I'm lost. How can I make that function exist?
Thanks.
hi marc,
you probably need to check that the ldap module is being loaded in your php.ini file.
you need a couple of lines something like this in the ini file:
extension_dir = /path/to/php/extensions_dir extension=ldap.so
hth
cheers justin
Marc D. Murray wrote:
Hey All,
So far, I'm liking this RoundCube mail client. I would like to know though, what do I need to do to get the LDAP Address Book functionality to work on Debian?
I've got roundcube working, but each attempt to use the LDAP Directory search results in an error in /var/www/roundcube/log/errors that says :
[30-Mar-2006 21:15:58 -0500] LDAP Error: No ldap support in this installation of php. in on line 0
I've installed libapache2-mod-php4 and php4-ldap from the debian repositories.
I've also used pear to download and install DB_ldap2 and Net_ldap (both beta versions) and I still get this error.
I've looked at the file program/include/rcube_ldap.inc and the error is generated by line :47 that says :
if (!function_exists('ldap_connect')) raise_error(array("type" => "ldap", "message" => "No ldap support in this
installation of php."), TRUE);
I don't know PHP at all or I'd be able to help here, but I'm lost. How can I make that function exist?
Thanks.
I've converted another to RC (he and I used to run Horde/IMP for years) but he's running PHP5 on Gentoo. When he tries hit index.php it bombs with:
PHP Fatal error: Call to undefined function session_set_save_handler() in /usr/local/htdocs/roundcubemail/program/include/session.inc on line 152
I still run PHP4, but will be running PHP5-cli on Freebsd soon (next week?) so I am instrested to hear any snafus that PHP5 may bring.
Thanks
http://fak3r.com - you dont have to kick it
phil wrote:
I've converted another to RC (he and I used to run Horde/IMP for years) but he's running PHP5 on Gentoo. When he tries hit index.php it bombs with:
PHP Fatal error: Call to undefined function session_set_save_handler() in /usr/local/htdocs/roundcubemail/program/include/session.inc on line 152
I still run PHP4, but will be running PHP5-cli on Freebsd soon (next week?) so I am instrested to hear any snafus that PHP5 may bring.
I think this problem is that PHP5 has been compiled incorrectly (hooray for Gentoo). This error says to me that someone has removed or left out the session compile flag, since PHP5 was the very reason I switched to RC (Horde/IMP doesn't work properly on PHP5) and it works perfectly on it.
"euse -E session" probably... maybe spl too
--Brian Jackson
On Apr 1, 2006, at 9:47 PM, phil wrote:
I've converted another to RC (he and I used to run Horde/IMP for
years) but he's running PHP5 on Gentoo. When he tries hit
index.php it bombs with:PHP Fatal error: Call to undefined function
session_set_save_handler() in /usr/local/htdocs/roundcubemail/program/include/session.inc on line
152I still run PHP4, but will be running PHP5-cli on Freebsd soon
(next week?) so I am instrested to hear any snafus that PHP5 may
bring.Thanks
P
http://fak3r.com - you dont have to kick it