php_openssl.dll missing?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

php_openssl.dll missing?

Postby gkalinec » 28. October 2009 18:05

Hello,
I've recently upgraded to xampp for windows 1.7.2 and noticed that the php extension php_openssl.dll is missing, along with an openssl folder in the extra folder. This was present in previous installation (with php 5.2). For some reason, this makes it so that I can't connect to an LDAP server (using the php_ldap extension) using the host name in the form ldaps://<hostname> (although the normal ldap://<hostname> works fine). I was wondering if anyone knows if this was taken out because it is no longer supported? I tried installing it manually but the server crashes saying that the library is not configured correctly.
Anyone knows a resolution to this?

Thank You.

German Kalinec
gkalinec
 
Posts: 2
Joined: 28. October 2009 18:00

Re: php_openssl.dll missing?

Postby Izzy » 29. October 2009 00:47

OpenSSL is compiled and enabled in php 5.3 of XAMPP 1.7.2 and so no longer requires a separate extension dll.

Check http://localhost/xampp/phpinfo.php and look for OpenSSL section.

I was under the impression that ldaps:// is now deprecated and the use of STARTTLS using ldap:// is used as a replacement.
http://www.openldap.org/faq/data/cache/605.html
http://www.openldap.org/lists/openldap- ... 00343.html
http://en.wikipedia.org/wiki/Lightweigh ... s_Protocol


BTW did you uncomment this ;extension=php_ldap.dll in the php.ini file?
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: php_openssl.dll missing?

Postby gkalinec » 30. October 2009 16:30

Thank you for the information. I was not aware that it was now compiled in. To answer your question, the line ;extension=php_ldap.dll is not in the php.ini section anymore. Neither is the dll in the ext folder. I downloaded a new copy of PHP 5.3 from the php site to verify that maybe that file was no longer available, but I found that the dll still existed in the php directory structure. I tried adding the line to the php.ini file and copying the dll from the downloaded php distro to the xampp distro, but that just crashed the whole ting.
I'm going to check on the STARTTLS directive in php (I've never seen it before) and I'll post results.

Thanks

German Kalinec
gkalinec
 
Posts: 2
Joined: 28. October 2009 18:00

Re: php_openssl.dll missing?

Postby Izzy » 30. October 2009 20:32

...the line ;extension=php_ldap.dll is not in the php.ini section anymore. Neither is the dll in the ext folder.
I have 1.7.2 version of XAMPP installed and it has both the extension entry and the dll included in the ext folder.

If you still have the downloaded file xampp-win32-1.7.2.exe and WinRAR or 7zip on your PC then right click on the file and select to open the archive with one of the above apps. or simply select File>Open archive in your archive program then locate the downloaded file - xampp-win32-1.7.2.exe is simply a WinRAR compressed archive.

After opening the archive View the php.ini file and look in the ext folder for the dll file as it is definitely in the file I downloaded from Apache Friends.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 43 guests