Edit report at https://bugs.php.net/bug.php?id=68312&edit=1
ID: 68312
Updated by: ab@php.net
Reported by: hanskrentel at yahoo dot de
Summary: Windows Message Box "php.exe - No Disk"
-Status: Suspended
+Status: Re-Opened
Type: Bug
Package: cURL related
Operating System: Windows 8 64bit
PHP Version: 5.5.18
Assigned To: ab
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2015-09-22 21:13:24] ab@php.net
Finally, the reason is creared out. Thanks everyone involved.
The reason of this bug is - OpenSSL library uses hardcoded paths assigned with --prefix. When none
of OPENSSL_CONF or SSLEAY_CONF environmental var was found, that hardcoded path will be used in PHP
as well. PHP should use a hardcoded path to c:\usr\local\ssl as prefix as documented here http://php.net/manual/en/openssl.installation.php
A simple workaround is to set one of those env vars pointing to an existent location. I'm going
to fix the hardcoded path issue for the next 5.6+ release.
Thanks.
------------------------------------------------------------------------
[2015-09-22 19:59:00] requinix@php.net
Related To: Bug #70553
------------------------------------------------------------------------
[2015-09-22 14:30:03] bob at m2 dot exnet dot com
happens on win7 with PHP 5.6.12 also. i have no D: drive, except when an phone is plugged in (that
can act as USB memory stick), but has no permission to access the file system, ie, the phone is
attached but a valid volume is not mounted.
This bug is sever because it prevents PHP from running, it blocks until a dialog box is clicked on.
------------------------------------------------------------------------
[2015-05-11 23:31:59] keithm at aoeex dot com
I've been experiencing this issue for a while on my development system. Using process monitor
it seems that at some point the file F:\repo\winlibs_openssl_vc11_x86\openssl.cnf is accessed.
My initial test was using PHP 5.6.3. I downloaded and tried again using 5.6.8 and had no issue.
After a little poking around it seems that replacing the libeay32.dll with the newer one provided in
the 5.6.8 package resolves the issue for me.
The newer libeay32.dll results in an attempt to access the file
D:\tmp\openssl-1.0.1m\vc11\x86\openssl.cnf. This fails silently as I do have a D: drive on my
system.
I was able to do the same type of workaround with my 5.4 setup which is necessary for some sites I
maintain.
------------------------------------------------------------------------
[2015-03-27 14:38:49] joleksow at nerdery dot com
I just wanted to add my thanks to grefix. Remapping my F drive solved the issue for me as well.
Thank you!
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=68312
--
Edit this bug report at https://bugs.php.net/bug.php?id=68312&edit=1