Bug #68415 [Opn]: "500 Internal Server Error" on connecting to non-existing host

From: Date: Thu, 13 Nov 2014 15:45:41 +0000
Subject: Bug #68415 [Opn]: "500 Internal Server Error" on connecting to non-existing host
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-188579@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68415&edit=1 ID: 68415 User updated by: cmueller at jobrouter dot de Reported by: cmueller at jobrouter dot de Summary: "500 Internal Server Error" on connecting to non-existing host Status: Open Type: Bug Package: MySQLi related Operating System: Windows 7 SP1 PHP Version: 5.6.2 Block user comment: N Private report: N New Comment: The output from the Windows event log: Name der fehlerhaften Anwendung: php-cgi.exe, Version: 5.6.2.0, Zeitstempel: 0x543eed4a Name des fehlerhaften Moduls: KERNELBASE.dll, Version: 6.1.7601.18409, Zeitstempel: 0x53159a86 Ausnahmecode: 0xc0000005 Fehleroffset: 0x0000c42d ID des fehlerhaften Prozesses: 0x2cac Startzeit der fehlerhaften Anwendung: 0x01cfff48611dc1bb Pfad der fehlerhaften Anwendung: C:\Program Files (x86)\PHP 5.6\php-cgi.exe Pfad des fehlerhaften Moduls: C:\Windows\syswow64\KERNELBASE.dll Berichtskennung: e8d8d143-6b3c-11e4-9b9a-ecf4bb35880a Previous Comments: ------------------------------------------------------------------------ [2014-11-13 15:41:09] cmueller at jobrouter dot de Description: ------------ If you connect to a non-existing host via mysqli_connect() or mysql_connect() you'll get an 500 Internal Server Error on Windows 7 SP1 with IIS 7.5 and PHP 5.6.2. With PHP 5.4.32 an error message is shown. Test script: --------------- $conn = mysqli_connect( 'xxxxxxxxxxx', 'test', 'test' ); Expected result: ---------------- Show an error message that cannot connect to host. Actual result: -------------- 500 Internal Server Error ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68415&edit=1

« previous php.bugs (#188579) next »