Hi, On Tue, August 5, 2014 11:26, Derick Rethans wrote: > On Sat, 2 Aug 2014, Jan Ehrhardt wrote: > > >> Johannes Schlüter in php.qa (Fri, 01 Aug 2014 03:30:53 +0200): >> >>> As 5.3.29 is supposed to be the last and final release of the 5.3 >>> series ever please test your code very carefully with PHP 5.3.29RC1 to >>> help us release a stable new PHP version. >> >> I did not succeed to get the php_mongo.dll from >> http://windows.php.net/downloads/pecl/releases/mongo/1.5.5/php_mongo-1.5 >> .5-5.3-nts-vc9-x86.zip >> to load without errors on my Windows 7 machine. If you enable the >> extension in php.ini and run 'php -m' from the command line it was >> complaining about a missing ordinal 4540 in LIBEAY32.dll. > > I've no idea what this even means :-) > I can't repro this with 5.3.28 and 5.3.29RC. Jan, it seems to me as it tries to load the dep DLL from somewhere it could find but not the core one. You can use the process monitor to debug the path used. The DLLs delivered with the core should be fine accross all the PECL extensions.
> >> I could not get my finger on the cause. php_mongo.dll loads >> libsasl.dll, but as far as I can see libsasl.dll does not load any of the >> OpenSSL files. Besides that the only OpenSSL files in my >> environment were the ones in the PHP-dir. A missing ordinal is really >> strange when all the files are from the same PHP package. >> >> So, I do not know if there is something wrong in the sasl/openssl combi >> or if php_mongo.dll is doing something strange. > > You're not the first one to mention this, we actually have a bug report > for it too, albeit with less (read: no) useful information: > https://jira.mongodb.org/browse/PHP-1159 > > >> I resolved it by compiling php_mongo.dll --without-mongo-sasl. Maybe >> the Windows binaries at PECL should be compiled without cyrus-sasl as >> well. It does not seem to make any difference because SSL is not >> supported anymore in php_mongo.dll since 1.5. php_mongo.dll 1.4.5 still >> supported SSL. > > 1.5 supports SSL as well — not sure why you say it isn't? It's possible > of course we messed up :-) But it does seem strange that the libraries > About SSL - in MINFO it's https://github.com/mongodb/mongo-php-driver/blob/master/php_mongo.c#L444 . Whereby HAVE_OPENSSL_EXT is defined to 0 when openssl is shared, which is always on Windows. I haven't looked further into the code, but if that macro is used for openssl availability checks in some functional parts, that'll surely exclude them when openssl is shared. Regards Anatol -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php