Bug #70553 [Fbk]: OpenSSL DLL blocking PHP on non-existent drive access

From: Date: Tue, 22 Sep 2015 19:59:01 +0000
Subject: Bug #70553 [Fbk]: OpenSSL DLL blocking PHP on non-existent drive access
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-196166@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70553&edit=1 ID: 70553 Updated by: requinix@php.net Reported by: bob at exnet dot com Summary: OpenSSL DLL blocking PHP on non-existent drive access Status: Feedback Type: Bug Package: OpenSSL related Operating System: Windows PHP Version: 7.0.0RC3 Assigned To: ab Block user comment: N Private report: N New Comment: Sounds like bug #68312, which @bob also commented on today. Previous Comments: ------------------------------------------------------------------------ [2015-09-22 19:54:30] ab@php.net Ah, Stas already set it to the bug, we just had a race condition :) @bob could you please try the env vars described here http://php.net/manual/en/openssl.installation.php for configuration? Like OPENSSL_CONF, that should override the default paths anyway. Thanks. ------------------------------------------------------------------------ [2015-09-22 19:47:43] ab@php.net Thanks for the report. Have you tried something like process monitor to check what exactly is looked for on drive d:? Just a guess, it might be the openssl.cnf path, but have to check. Which Windows do you use? I've just tried on a machine with only disk c: and no popups, no hanging (but if the config path is wrong, should be fixed anyway). And, btw - why is this security? It's still RC. If there's no particular reason, probably should be set to a normal bug. Thanks. ------------------------------------------------------------------------ [2015-09-22 19:35:18] stas@php.net Could you please provide the screenshot or other detailed description of the dialog you are seeing? ------------------------------------------------------------------------ [2015-09-22 19:26:46] bob at exnet dot com Description: ------------ the libeay32.dll (OpenSSL) appears to be a dependency of several other PHP modules, postgres, cURL etc.. It accesses a non existent drive D:, which then causes a dialog to appear, and the PHP script blocks until it's clicked. Test script: --------------- affects PHP even before a script runs. php --version even triggers it. Expected result: ---------------- don't access drives on my machine that don't even exist! Actual result: -------------- accesses non existent drives, causing the running of PHP to block. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70553&edit=1

« previous php.bugs (#196166) next »