Bug #68415 [NEW]: "500 Internal Server Error" on connecting to non-existing host
| From: | cmueller at jobrouter dot de | Date: | Thu, 13 Nov 2014 15:41:10 +0000 |
| Subject: | Bug #68415 [NEW]: "500 Internal Server Error" on connecting to non-existing host | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-188578@lists.php.net to get a copy of this message | ||
From: cmueller at jobrouter dot de
Operating system: Windows 7 SP1
PHP version: 5.6.2
Package: MySQLi related
Bug Type: Bug
Bug description:"500 Internal Server Error" on connecting to non-existing host
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 bug report at https://bugs.php.net/bug.php?id=68415&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68415&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68415&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68415&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68415&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68415&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68415&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68415&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68415&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68415&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68415&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68415&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68415&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68415&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68415&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68415&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68415&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68415&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68415&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68415&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68415&r=mysqlcfg