Home  |  Linux  | Mysql  | PHP  | XML
From:Lester Caine Date:Thu Apr 24 14:29:05 2008
Subject:Re: Building PHP 5.25 from source on windows with openssl
Jonathan Frankel wrote:
>> Why do you need to compile on windows
> 
> Quoting from the page you sent me: "To use PHP's OpenSSL support you
> must also compile PHP --with-openssl[=DIR]."
> 
> Are you saying that this doesn't apply to PHP on Windows? I've already
> set PHP up for use with IIS, and when I tried enabling php_openssl.dll
> in php.ini I received this error when using adLDAP:

I've not had to yet ;)
I doubt that I even have the tools available TO compile in windows which is 
why the binaries are always made available.

> "Warning: ldap_bind() [function.ldap-bind]: Unable to bind to server:
> Can't contact LDAP server in C:\Inetpub\wwwroot\adLDAP\adLDAP.php on
> line 114
> FATAL: AD bind failed. Either the LDAPS connection failed or the login
> credentials are incorrect."
> 
> Now, I'm willing to believe the possibility that adLDAP isn't working
> the way it should, but I'm leaning away from that since it performs
> perfectly when not using openssl. So I'm assuming it's the case that I
> have to follow the directions and compile PHP with openssl...unless
> the directions are sloppy and misleading and only refer to using
> openssl on *nix.

openssl probably needs further setting up. php_openssl is only a link to the 
openssl software so have you installed that?
http://www.slproweb.com/products/Win32OpenSSL.html is where I ended up, but I 
have to admit to using Linux now for ssl simplicity. Just load the relevant 
packages and it works ;)

> On Thu, Apr 24, 2008 at 3:56 PM, Lester Caine <lester@lsces.co.uk> wrote:
>> Jonathan Frankel wrote:
>>
>>> Hello all,
>>>
>>> I'm doing something something crazy--I need to use PHP on a Windows
>>> 2003 Server with IIS (I can't use apache). I also need openssl
>>> enabled, which means I have to build from source. Unfortunately I'm
>>> running into problems.
>>>
>>> I followed the quick guide instructions at
>>> http://us.php.net/manual/en/install.windows.building.php. I chose
>>> --enable-isapi so I can use it with IIS and I chose --enable-openssl
>>> (like it says at
>>> http://us.php.net/manual/en/openssl.installation.php), although I'm
>>> not sure which directory to give it. When running nmake I get an error
>>> that I don't understand, whether or not I use --enable-openssl...also
>>> do I need to choose things like --enable-ldap in order to have ldap
>>> functions available? Does anyone have any idea of what I can do to get
>>> this working?
>>>
>> Why do you need to compile on windows
>> http://uk3.php.net/manual/en/openssl.installation.php
>> php_openssl.dll just needs enabling in the php.ini and you use php5isapi.dll in your IIS configuration
>> http://uk3.php.net/manual/en/install.windows.iis.php



-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact
L.S.Caine Electronic Services - http://home.lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php
Navigate in group php.install at sever news.php.net
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants