[PHP] PHP5 functions problems... help!

2004-08-20 Thread Stéphane Kunegel
Hi I am upgrading to PHP5 and having some difficulties : "undefined function". I also don't understand how some other functions work... I need LDAP and SSL support so I installed OpenLDAP --with-TLS and OpenSSL. Then I installed PHP5.1. I configured it using --with-openssl --with-ldap --with-sas

[PHP] Mutual authentication with ldap_start_tls()

2004-08-16 Thread Stéphane Kunegel
Hi php-general, I am trying to make my web server (Apache 2 + mod_ssl) connect to my ldap server with mutual authentication using PHP. This means I want them to exchange their certificate. For this purpose, I connect to ldap on port 389 then start TLS using ldap_start_tls(). This works perfectly