[horde] Can't get Horde to detect PEAR Crypt_CHAP module
Ryan Steele
steele at agora-net.com
Tue Jul 3 13:04:22 UTC 2007
Alexandros Fragkiadakis wrote:
> On Mon, July 2, 2007 22:26, Ryan Steele wrote:
>
>> Hey folks,
>>
>>
>> I've got a shiny new Horde installation using the latest stable
>> framework (3.1.4). My plan is to use LDAP for passwords, as our servers
>> currently implement that backend to do authentication, and make use of
>> smbldap-tools. However, I've got one small bit of my test.php that doesn't
>> give me the green light:
>>
>> # PEAR Search Path (PHP's include_path):
>> /var/www/horde/lib:/var/www/horde/lib/../pear
>> Crypt_CHAP: No
>> If you will be using the smbldap driver for password changes, then you
>> must install the PEAR Crypt_CHAP module.
>>
>> There are two issues here, I believe. The first is that PHP's
>> include_path is not /var/www/horde/lib or /var/www/horde/pear - my php.ini
>> has it set to something else altogether - /usr/share/php. This may be the
>> crux of the problem, and if it is, I'd love to know how to change this to
>> match my setup.
>>
>> The other thing is, the Crypt_CHAP module for PEAR is installed, which
>> is what seems to bolster the claim that Horde has an incorrect PEAR search
>> path:
>>
>>
>> server:~# pear list
>> Installed packages, channel pear.php.net:
>> =========================================
>> Package Version State
>> Archive_Tar 1.3.2 stable
>> Auth_SASL 1.0.2 stable
>> Console_Getopt 1.2.2 stable
>> Crypt_CHAP 1.0.1 stable
>> HTTP_Request 1.4.1 stable
>> Log 1.9.11 stable
>> Mail 1.1.14 stable
>> Mail_Mime 1.5.2 stable
>> Mail_mimeDecode 1.5.0 stable
>> Net_SMTP 1.2.10 stable
>> Net_Socket 1.0.8 stable
>> Net_URL 1.0.15 stable
>> PEAR 1.5.4 stable
>> Structures_Graph 1.0.2 stable
>>
>>
>>
>> I'd appreciate any feedback on this issue - I've been reading the FAQs,
>> scouring Google, and doing lots of minor tweaking to the installation to
>> try and get this to work to no avail... thanks!
>>
>> --
>> Ryan Steele
>> Systems Administrator
>>
>>
>>
> i've untarred passwd in directory horde/
> then i've placed CRYPT_CHAP in that directory. I've also renamed
> CRYPT_CHAP to Crypt.
>
> so, the directory /horde/Crypt contains the crypt library.
>
> I don't know if this will help.
>
> Alexandros
>
>
>
Thanks for the tip Alexandros. I'd managed to get it working by editing
lib/core.php, and modifying the ini_set(...) line to include the path to
the PHP modules.
Ryan
--
Ryan Steele
Systems Administrator
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.1 (GNU/Linux)
mQELBEaFKjABCADLYm6aPkaSU0QWXu5hqocuyIwl1d1NUuoVJ97tBUqkR3IOJMZC
mLhMF3x1XE5zykajE6mIAKR8uVgubrHRBbTZtM+vH4u2ZboY+NBEzABZqj+NQtnW
dVEeFPKsWA991iUV9hyj2H51fVQa1wa7xM7Im75iSnSZJ+oxFWzPQrv0znFBs5H0
xVlX4i1zSICqM4WRjBsZTGG5PcaG9i1TS/txBM8YWp0eZAHnpuY3BXzW6EPuKe7w
7vfXOWo/FOd0PaMY/yMWgL5YfvhdZ7FwWjDbhYp/ypnVk9DOLLFm0sH8S20BelUR
+zd86ksGzipjSOC21D/q9PFn6DtV5JFH7qEBAAYptCJSeWFuIFN0ZWVsZSA8c3Rl
ZWxlQGFnb3JhLW5ldC5jb20+iQE0BBMBAgAeBQJGhSowAhsDBgsJCAcDAgMVAgMD
FgIBAh4BAheAAAoJEI4H9qM054NXJYYH/jw938/CKdbebceG3CTXGUoyqrALVE0A
hvh1Pj9E+77yII0F7FGgEXnHmu7Af0dLBmDPzJYWTkFW0r7CXaQJst5zb0d47Zeq
XSwyQHd2OuJxqhBDO88Bqsj4wT0ups0m9POjm0ppqBJi0USE54qGkbPsV+lhVa2r
4+lKcKT5DrT3SANjZ71vjSH9cPR85cn27uU14VuC1p774eA1KaB55ajfGBZkJQM7
I6BWVU9wzG2sSz1GDQtww1b0KUeoltVhto+6mABfwYcxBOkiHH9BQ9dqjB+kqJZ1
TtXFhWprKaivN4BMCs3cVJzuRDJv1bT6d8pvYi1ybM18iJ77M2nn818=
=6P8/
-----END PGP PUBLIC KEY BLOCK-----
More information about the horde
mailing list