Am Montag, 11. Dezember 2006 19:39 schrieb Bryan Irvine:
> > > > Did I forget anything?
> > >
> > > You've installed the proper php5-ldap package for your arch / version?
> >
> > yes (all from packages)
> >
> > > You've restarted apache after running phpxs?
>
> Does phpinfo show ldap support?
>
> make a script that just has
> <?
> print phpinfo();
> ?>
>
> and open it from a browser,
>
> If ldap support doesn't show there, try typing from command line:
> $ php
> <?
> print phpinfo();
> ?>
> ^d
>
> and see if ldap support shows there.
>
> If it shows up when run from CLI, but not from web browser, try a hard
> stop of apache and restart it.
>
> If that still doesn't do it, check /var/www/conf/php.ini for ldap support.
>
> --Bryan

phpinfo() shows

System  OpenBSD myserver.mydomain.com 4.0 GENERIC#690 amd64
Build Date      Sep 7 2006 06:55:44
Configure Command       './configure' '--with-apxs=/usr/sbin/apxs' 
'--without-mysql' '--enable-xml' '--enable-wddx' '--enable-cli' 
'--with-iconv=/usr/local' '--with-gettext=/usr/local' '--enable-dio' 
'--with-pear=/var/www/pear' '--enable-bcmath' '--enable-session' 
'--enable-trans-sid' '--enable-calendar' '--enable-ctype' '--enable-ftp' 
'--with-pcre-regex' '--with-posix' '--enable-sockets' '--enable-sysvsem' 
'--enable-sysvshm' '--enable-yp' '--enable-exif' '--without-sqlite' 
'--enable-shared' '--disable-static' '--disable-rpath' 
'--with-config-file-path=/var/www/conf' '--enable-inline-optimization' 
'--with-pic' '--with-openssl' '--with-zlib' '--prefix=/usr/local' 
'--sysconfdir=/etc' '--mandir=/usr/local/man' '--infodir=/usr/local/info'
Server API      Apache
Virtual Directory Support       disabled
Configuration File (php.ini) Path       /var/www/conf/php.ini
PHP API         20041225
PHP Extension   20050922
Zend Extension  220051025
Debug Build     no
Thread Safety   disabled
Zend Memory Manager     enabled
IPv6 Support    enabled
Registered PHP Streams  php, file, http, ftp, compress.zlib, https, ftps
Registered Stream Socket Transports     tcp, udp, unix, udg, ssl, sslv3, sslv2, 
tls
Registered Stream Filters       string.rot13, string.toupper, string.tolower, 
string.strip_tags, convert.*, consumed, convert.iconv.*, zlib.*

in php.ini there is

extension=ldap.so


Harry

Reply via email to