From: a-frey at gmx dot de Operating system: Windows XP Professional SP2 PHP version: 5.0.4 PHP Bug Type: MySQL related Bug description: MySQL Module not working properly
Description: ------------ My system: - win xp pro sp2 - php 5.0.4 - mysql 4.0.24 changes in php.ini: - no changes needed When trying to browse through tables with phpMyAdmin then my server apache2 crashes entirely. I installed Apache2, mysql and php5 as module as described in the installation readme (install.txt). php5 seemed to work well, no error with phpinfo(), etc. When i try to use phpMyadmin i could not send SELECT statements to the database. I made several tests, added php4 directory to path, disabled all extensions and modules on Apache2 but had no success. Then I just loaded the file libmysql.dll shipped with php5 manually in the httpd.conf of apache and all seems to work fine now. I think copying this file to windows/system directory would have solved the problem as well. As i am not the only person having this problem, it would be fine to fix this problem, rather adding a concusion to the installation instructions. Greetings Andreas Frey. Reproduce code: --------------- Its hard to reproduce. I tested on 2 systems, but the error only occured on one system. hope my description helps. i installed apache2, a mysql database, php5 as module and phpMyAdmin. The error occurs when trying to browse tables in phpMyAdmin, but only on one system. However on the other system i got an error message "mysql module could not be loaded" i had to copy the libmysql.dll to windows/system directory. Expected result: ---------------- Any response of the server. Actual result: -------------- My webServer Apache 2 crashes ... With Internet Explorer: Errorpage with message: de: Fehler: Server oder DNS kann nicht gefunden werden Internet Explorer en (i think): Server or DNS could not be found. With Mozilla Firefox: Nothing happens at all. Just the message waiting for 127.0.0.1. -- Edit bug report at http://bugs.php.net/?id=32666&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32666&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32666&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32666&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32666&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32666&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32666&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32666&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32666&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32666&r=support Expected behavior: http://bugs.php.net/fix.php?id=32666&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32666&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32666&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32666&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32666&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32666&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32666&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32666&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32666&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32666&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32666&r=mysqlcfg