Bug #68312 [Com]: Windows Message Box "php.exe - No Disk"

From: Date: Tue, 28 Oct 2014 17:43:59 +0000
Subject: Bug #68312 [Com]: Windows Message Box "php.exe - No Disk"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-188348@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68312&edit=1 ID: 68312 Comment by: hanskrentel at yahoo dot de Reported by: hanskrentel at yahoo dot de Summary: Windows Message Box "php.exe - No Disk" Status: Feedback Type: Bug Package: cURL related Operating System: Windows 8 64bit PHP Version: 5.5.18 Block user comment: N Private report: N New Comment: I did already check with procmon for the initial report but couldn't reveal anything substantial. It's perhaps OK to have it documented for the moment. I can hotfix by disabling curl on the fly and/or removing the USB stick from the computer. If this gets too much on my nerves I'll probably look again. This is rather esoteric. Previous Comments: ------------------------------------------------------------------------ [2014-10-28 08:36:55] ab@php.net Tcha, if the program from the stick changes some env, that would affect anything else, not just PHP. procmon might reveal more on what files are claimed http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx . Thanks. ------------------------------------------------------------------------ [2014-10-27 19:08:39] hanskrentel at yahoo dot de Description: ------------ When running php.exe like php --version a Windows Message-Box (Win API MsgBox) pops up with title "php.exe - No Disk" the error symbol (Circle, background filled in red, white X inside it) with the message "There is no disk in the drive. Please insert a disk into drive F:." and a group of three buttons below (Cancel, Retry and Continue). If running php.exe like php --help The box does not appear. This does only happen when the system has an USB-stick attached that fakes a drive to invoke a driver then to unmount the drive again so you can't look there in. Somehow the drive is still registered. I don't know why php needs to access this drive anyway. With php -n --version the message box does not appear. Disabling all extensions in php.ini turns out to not have the message box. Re-enabling extension after extension turns out that extension=php_curl.dll causes this (curl extension). I suspect this is related to some default files (e.g. _curlrc) / environment variables. Looking for file-system-activity with Process Monitor didn't made me spot anything more specific. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68312&edit=1

« previous php.bugs (#188348) next »