ID: 27869 Updated by: [EMAIL PROTECTED] Reported By: Robin at RHarmsen dot nl -Status: Open +Status: Feedback Bug Type: Zend Engine 2 problem Operating System: Windows XP PHP Version: 5CVS-2004-04-05 (dev) New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-04-05 10:37:08] Robin at RHarmsen dot nl Description: ------------ When assigning the result of MySQLi_connect() to a variable crashes PHP. while just calling MySQLi_connect() with the same arguments doesn't crash. I run Apache 2.0.49 Win32 on Windows XP with the Latest PHP5 CVS version. PHP.ini diff: zend.ze1_compatibility_mode = On allow_call_time_pass_reference = Off error_reporting = E_ALL register_argc_argv = Off extension_dir = "C:\php\ext\" extension=php_mysqli.dll mysqli.default_host = barserver Reproduce code: --------------- <?php //this is good: mysqli_connect("barserver","baruser","barpass"); // This crashes $foo = mysqli_connect("barserver","baruser","barpass"); ?> <?php // when disabeling mysqli and enableing mysql extension // this is good: $foo = mysql_connect("barserver","baruser","barpass"); ?> Expected result: ---------------- I expected that $foo would be assigned a mysqli link or mysqli object. Actual result: -------------- Apache + PHP crashes ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27869&edit=1
