note 101690 added to oci8.requirements
| From: | dha at octo dot com | Date: | Wed, 05 Jan 2011 12:04:22 +0000 |
| Subject: | note 101690 added to oci8.requirements | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175458@lists.php.net to get a copy of this message | ||
If you plan to use Oracle Internet Directory with LDAPS, you NEED to compile the php-ldap library
with Oracle Support.
Also, with OID 10g I had to create a folder, reference it in the env variable $ORACLE_HOME, and copy
in it three ldap message files found in my OID installation.
At the end, my $ORACLE_HOME looked like this :
ldap
mesg
ldapf.msb
ldapus.msb
ldapus.msg
(Note that the ldapf.msb is here because I have a french installation of OID)
To use ldaps, you will need to use ldap_connect this way :
ldap_connect(host,port,"file://path/to/wallet",walletpassword,sslauth)
Your wallet only needs to contain the CA (secure) certificate.
with sslauth being :
1 for no ssl authentication
32 for ssl server authentication
64 for ssl mutual authentication
----
Server IP: 69.147.83.197
Probable Submitter: 41.140.29.158
----
Manual Page -- http://www.php.net/manual/en/oci8.requirements.php
Edit -- https://master.php.net/note/edit/101690
Del: integrated -- https://master.php.net/note/delete/101690/integrated
Del: useless -- https://master.php.net/note/delete/101690/useless
Del: bad code -- https://master.php.net/note/delete/101690/bad+code
Del: spam -- https://master.php.net/note/delete/101690/spam
Del: non-english -- https://master.php.net/note/delete/101690/non-english
Del: in docs -- https://master.php.net/note/delete/101690/in+docs
Del: other reasons-- https://master.php.net/note/delete/101690
Reject -- https://master.php.net/note/reject/101690
Search -- https://master.php.net/manage/user-notes.php