[PHP] Re: LDAP_connect()

2003-08-02 Thread Craig Roberts
Have you enabled the module in php.ini?

Uncomment the line

extension=php_ldap.dll

in php.ini (windows..) I think LDAP support needs to be complied in on Linux
but I've never used it so cant say.

Craig Roberts

"Ron Allen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Everytime I try to run this function it says that it is an undefined
> function LDAP_connection
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: LDAP_connect()

2003-08-02 Thread Bogdan Stancescu
http://ro.php.net/manual/en/ref.ldap.php#ldap.requirements

Ron Allen wrote:
Everytime I try to run this function it says that it is an undefined
function LDAP_connection



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: ldap_connect()

2002-07-26 Thread Richard Lynch

>I am new to using PHP on RedHat 7.3 and am running into a problem with
>ldap_connect().  When I attempt to run ldap_connect, I get the error:
>
>Call to undefined function: ldap_connect()

Even though you said "--with-ldap=shared" it just didn't "work"

You'll have to do ./configure again and figure out why LDAP didn't get in
there.

For starters, try losing the 'shared' crap.  It's just not that big a deal
to have it static -- Not worth pulling hair out anyway.

You can log your ./configure output better than usual using:

./configure ...  2&>1 > configure.output &

Then you can use:

tail -f configure.output

to see it scroll by, (control-C to quit)
or even:
less configure.output
to check it later.

>The system I am working on has the default install of Redhat 7.3 with Apache
>version "Apache/1.3.23".  It has been suggested to me that I need to
>recompile either PHP and/or Apache and am still quite new to this.  The PHP
>configure command is:
>
>'./configure' 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr'
>'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
>'--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib'
>'--libexecdir=/usr/libexec' '--localstatedir=/var'
>'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
>'--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc'
>'--enable-force-cgi-redirect' '--disable-debug' '--enable-dbg=shared'
>'--with-dbg-profiler' '--enable-pic' '--disable-rpath'
>'--enable-inline-optimization' '--with-bz2' '--with-db3' '--with-curl'
>'--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr'
>'--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf'
>'--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv'
>'--with-jpeg-dir=/usr' '--with-mm' '--with-openssl' '--with-png'
>'--with-pspell' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr'
>'--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-debugger'
>'--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode'
>'--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
>'--enable-discard-path' '--enable-track-vars' '--enable-trans-sid'
>'--enable-yp' '--enable-wddx' '--without-oci8' '--with-imap=shared'
>'--with-imap-ssl' '--with-kerberos=/usr/kerberos' '--with-ldap=shared'
>'--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr'
>'--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared'
>'--enable-memory-limit' '--enable-bcmath' '--enable-shmop'
>'--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio'
>'--enable-mcal' '--enable-mbstring' '--enable-mbstr-enc-trans'
>'--with-apxs=/usr/sbin/apxs'


-- 
Like Music?  http://l-i-e.com/artists.htm
I'm looking for a PRO QUALITY two-input sound card supported by Linux (any
major distro).  Need to record live events (mixed already) to stereo
CD-quality.  Soundcard Recommendations?
Software to handle the recording? Don't need fancy mixer stuff.  Zero (0)
post-production time.  Just raw PCM/WAV/AIFF 16+ bit, 44.1KHz, Stereo
audio-to-disk.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php