From: admin at sellchain dot com Operating system: Windows Server 2003 PHP version: 5.0.5 PHP Bug Type: MySQL related Bug description: PHP.INI says no DLL needed, when in fact it did need it.
Description: ------------ ;Windows Extensions ;Note that MySQL and ODBC support is now built in, so no dll is needed for it. ; Running Apache2, MySQL 5.0, PHP 5.0.5 This is now included in the PHP.ini file, however when I upgraded from PHP 4.4.0 to PHP 5.0.5, the first thing that failed to work is MySQL. Your note says not to include the DLL, it's built in. However, to get MySQL working, I added the extension=php_mysql.dll. Now it works. I am reporting this because your note says it is built in, but in my download, it wasn't. It may be a windows issue, i'm not complaining. I love you guys for all your hard work, PHP is a tool that makes us all Gods of programming. Just keeping you up to date on issues. You may have already received a bug report on this, however I am making sure you do. Other than that, my issue has been resolved, but I think this is a bug, and you should look into it, and let others know about it so they can get their PHP / MySQL working. I am sure mostly everyone did what I did and added the extension. Nathan Reproduce code: --------------- Install MySQL, Latest Version 5.0, and install PHP 4.4.0. Get your MySQL working with Apache and PHP. Shut down Apache, Upgrade to PHP 5.0.5 using the PHP Installer. Take out any MySQL extensions from the PHP.ini file if they weren't removed by PHP 5.0.5 Installer. You should receive the same error. I couldn't go around it, I even restarted and reinstalled. My last resort was to put in the extension. -- Edit bug report at http://bugs.php.net/?id=34960&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34960&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34960&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34960&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34960&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34960&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34960&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34960&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34960&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34960&r=support Expected behavior: http://bugs.php.net/fix.php?id=34960&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34960&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34960&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34960&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34960&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34960&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34960&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34960&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34960&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34960&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34960&r=mysqlcfg