From: akaraethon at gmail dot com Operating system: Windows Server 2003 32bit PHP version: 5.1.6 PHP Bug Type: MySQL related Bug description: PHP cannot connect with MySQL/MySQLi
Description: ------------ I have PHP running on Win server ent. ed. 2k3, IIS is my webserver with MySQL as my DB engine, MySQL runs fine, but for some reason PHP cannot connect. I used the PHP.ini-Recomended file, enabled php_mysql.dll, and set up the other basics (webserver root, etc). PHP runs fine, IIS serves pages fine, but any attempt to connect to mysql fails with the error "Fatal error: Call to undefined function mysql_connect() in C:\Inetpub\wwwroot\Dragon-Radio\test.php on line 5" I have checked, double checked, tripple checked, and done a complete erase and reinstall of PHP and MySQL, all files are in the correct places, but php just will not connect... Reproduce code: --------------- URL to page that exemplifies error http://dragon-radio.selfip.net Expected result: ---------------- PHP should not tell me there is an error Actual result: -------------- Fatal error: Call to undefined function mysql_connect() in C:\Inetpub\wwwroot\Dragon-Radio\test.php on line 5 -- Edit bug report at http://bugs.php.net/?id=38954&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38954&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38954&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38954&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38954&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38954&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38954&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38954&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38954&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38954&r=support Expected behavior: http://bugs.php.net/fix.php?id=38954&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38954&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38954&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38954&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38954&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38954&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38954&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38954&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38954&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38954&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38954&r=mysqlcfg