[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bug in php4-ldap?



not sure since i have been using php4 for about a day now.

i am using a php-based email front end which has the ability
to query a ldap server for addresses (in this case its squirrelmail
1.0.1 quering a netscape directory 3.1 server) when setting up
php4-ldap i get:

Setting up php4-ldap (4.0.3pl1-0potato1) ...
You are installing LDAP support for php4, but it's not
enabled in you /etc/php4/apache/php.ini.

To enable it you need to add this line:

extension=ldap.so

Do you want me to add it now [y/N] ?y

and it indeed adds it to /etc/php4/apache/php.ini however
apache's module(s) seem to ignore it unless it is specified
in /etc/php4/cgi/php.ini. i also need to make /usr/lib/php4/cgi
a symlink pointing to /usr/lib/php4/apache (or modify
php.ini to point to apache instead of cgi). I'm runnin apache
and apache-ssl with these versions:
ii  apache         1.3.9-13.1     Versatile, high-performance HTTP server
ii  apache-common  1.3.9-13.1     Support files for all Apache webservers
ii  apache-ssl     1.3.9.13-2     Versatile, high-performance HTTP server with

php4 stuff is:
ii  php4           4.0.3pl1-0pota A server-side, HTML-embedded scripting langu
ii  php4-cgi       4.0.3pl1-0pota A server-side, HTML-embedded scripting langu
ii  php4-dev       4.0.3pl1-0pota Files for PHP4 module development
ii  php4-imap      4.0.3pl1-0pota IMAP module for php4
ii  php4-ldap      4.0.3pl1-0pota LDAP module for php4

it works fine after i do the changes i am just curious what
the /etc/php4/cgi directory is used for if /etc/php4/apache
is what apache seems to be using ?

just seems kinda odd .....

tia

nate



Reply to: