RE: RE: 2 questions on mssql and ldap

Venkat Raman Don <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <3FA2AD39E9964240B4E6DD4AE62E031B5528FCA1@TK5EX14MBXC113.redmond.corp.microsoft.com>
Hi Sascha,

I was just saying that if your LDAP extension is not compiled with option --with-ldap-sasl, this function will not be defined. Since Bruno is getting other functions defined other than this particular function, this means that LDAP DLL he is using was not configured with --with-ldap-sasl option at build time. This is what I got from PHP manual. Look at http://us2.php.net/manual/en/function.ldap-sasl-bind.php under requirement.

An obvious solution is to compile it with the option --with-ldap-sasl. I told Bruno to do it because I thought it will be convenient. If not, someone has to compile it with the option mentioned above and upload it so that others can use. I can also see that LDAP is very much part of PHP MSI, so probably bundled MSI/ZIP package has to be modified. So a change in Windows build script somewhere is needed.

Thanks,
Don.

-----Original Message-----
From: Sascha Meyer [mailto:[email protected]] 
Sent: Wednesday, May 12, 2010 12:22 AM
To: Venkat Raman Don; [email protected]; [email protected]
Subject: Re: RE: [PHP-WIN] 2 questions on mssql and ldap

Hi Don,

Don wrote:
> While configuring PHP (configure command) one has to use the switch
> --with-ldap-sasl, otherwise this function is undefined. Probably the LDAP library
> you are using is not configured with this switch. Try compiling with this
> switch yourself.

could you give us some more info on this topic? I didn't knew that you have to compile PHP on windows for extensions to work and thought compiling was just a requirement on most *nix systems.

Which files are necessary to compile SASL support into PHP and which steps have to be taken?

Thanks and regards, 

Sascha
-- 
Freundliche Grüße / Kind regards,

Sascha Meyer
--------------------------------------------------
EE:  http://www.experts-exchange.com/M_761556.html
ZCE: http://www.zend.com/en/yellow-pages#show-ClientCandidateID=ZEND011290

GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.