[olug] RE: RH PHP Errors

Brandon Lederer brandonl at hms4emc.com
Thu Jun 19 18:50:15 UTC 2003


Forward from another list.  This thread _may_ apply here.  Not that this is
going to solve your problem, but the similarities between RH and Mandrake
maybe we have found a bug or something.

-----Original Message-----
From: David Smith [mailto:DavidSmith at byu.edu]
Sent: Wednesday, June 18, 2003 9:43 PM
To: High Mobley; davedap-list at lists.sourceforge.net
Subject: Re: [davedap] Problems with install/config


I hate to ask the obvious, but have you tried restarting Apache? For the
record, I've heard of this happening and the solution turned out to be
restarting Apache (sometimes more tha once). 

In the event that you have already tried that, here's some info that may
shed some light on the issue. The way DaveDAP checks to make sure that
you have LDAP functionality built into PHP is buy calling:

if( function_exists( "ldap_search" ) )
	// yes, you've got it
else
	// no LDAP support

This check is performed in the index.php file, and if you are confident
that you do indeed have LDAP support (ie, other PHP/LDAP apps work
fine), then you can comment out the lines that make the check, lines 55
through 60 in index.php. 

I've since learned that there are better ways to check for the presence
of an extension (with the extension_loaded() function). I've changed it
in CVS to use the new function. If you would be so kind as to check out
the CVS version and tell me if that works for you, I would be very
appreciative.

Hope you can get up and running soon!

--Dave

On Wed, 2003-06-18 at 07:16, High Mobley wrote:
> Trying to run davedap-0.8.1 on a Mandrake 9.1 box running mod_php on
> Apache with php-ldap extensions installed. Have the following line in my
> php.ini file:
> 
> extension = ldap.so
> 
> However, when I go to my davdap directory after editing config.php, I
> get the following message:
> 
> Your install of PHP appears to be missing LDAP support. Please install
> LDAP support before using DaveDAP.
> 
> So I double-checked my installed rpm by running 'rpm -qa | grep -i php'
> and found mod_ldap and php-ldap were installed as expected. 
> 
> A few Google searches didn't bring up anythin useful, though perhaps I
> haven't found the right combination of search terms yet. Any body have
> some pointers on how to go about troubleshooting this? TIA
-- 
Dave Smith
System Programmer, BYU CS Department
GPG Fingerprint: F907 A5C6 17AE C55D CE33  9F05 A829 B63C 99AE 2919



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_________________________________________________________
The DaveDAP Mailing List
https://lists.sourceforge.net/lists/listinfo/davedap-list


More information about the OLUG mailing list