|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-12-03 11:59 UTC] louis at steelbytes dot com
[2008-12-03 12:49 UTC] pajoye@php.net
[2008-12-03 13:15 UTC] louis at steelbytes dot com
[2008-12-03 13:23 UTC] pajoye@php.net
[2008-12-11 01:00 UTC] php-bugs at lists dot php dot net
[2009-06-19 09:18 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 00:00:02 2025 UTC |
Description: ------------ I was trying to repro a crash I get when using fastcgi and any script more complex then hello world, and I came across this gem ... I'm using IIS7 (tried both VistaSP1 and Win2008), with FastCGI and the attached script fails. but if I shorten the name of the function, then it doesn't fail!!! freaky. important note, it doesn't fail the first time, only the 2nd, so hit refresh a couple of times in your browser. if I switch to CGI, then it works fine. what difference could the name of an uncalled function have on php_mysql.dll? mmm ... Reproduce code: --------------- differences versus php.ini-recommended extension_dir = "./ext" cgi.force_redirect = 0 index.php <html><body><?php function abcdefghijklmopqrstuv($s) { return $s; } if (!extension_loaded('mysql')) @dl('php_mysql.dll'); if (!extension_loaded('mysql')) die('mysql not loaded'); $dblink = mysql_connect('localhost','root','root'); ?></body></html> Expected result: ---------------- no error or warning Actual result: -------------- PHP Warning: mysql_connect() [function.mysql-connect]: Too many open links (0) in C:\hobby\test\index.php on line 7