ID: 35294 Updated by: [EMAIL PROTECTED] Reported By: cjm at cjmweb dot fsnet dot co dot uk -Status: Open +Status: Feedback Bug Type: MySQL related Operating System: Windows NT Server 4 PHP Version: 5.0.5 New Comment:
The error message you get comes from MySQL. What makes you think it's a problem of PHP, not MySQL? Previous Comments: ------------------------------------------------------------------------ [2005-11-19 17:32:49] cjm at cjmweb dot fsnet dot co dot uk MySQL Version is 5.015-nt I just realised something. It works in any subfolder of F:\wwwroot\ even if it is a root web folder. It is only F:\wwwroot\ and F:\sslroot\ that cause problems. This would seem strange. We are running Apache though, despite the wwwroot. That was our naming choice at the time. ------------------------------------------------------------------------ [2005-11-19 17:22:19] [EMAIL PROTECTED] What version of MySQL are you using? ------------------------------------------------------------------------ [2005-11-19 17:09:17] cjm at cjmweb dot fsnet dot co dot uk The download of the newer version has had no effect. ------------------------------------------------------------------------ [2005-11-19 16:55:57] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ [2005-11-19 16:48:48] cjm at cjmweb dot fsnet dot co dot uk Description: ------------ I have enabled PHP-MySQL and set up MySQL correctly so that it all works. However, a few days ago, PHP-MySQL stopped working on some VHosts and stayed working on others. The problem is the fact that it works under some conditions, but not others. The mysql_connect code in this article is the same in both VHosts. Reproduce code: --------------- <?php mysql_connect("localhost","user","pwd"); //ERROR here! ?> Expected result: ---------------- I expect the admin interface or website to come up depending on the non-working domain. Actual result: -------------- Warning: mysql_connect() [function.mysql-connect]: Can't create a new thread (errno 12). If you are not out of available memory, you can consult the manual for a possible OS-dependent bug in F:\wwwroot\index.php on line 23 Could not connect to mysql because Can't create a new thread (errno 12). If you are not out of available memory, you can consult the manual for a possible OS-dependent bug ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35294&edit=1
