php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32666 MySQL Module not working properly
Submitted: 2005-04-11 10:03 UTC Modified: 2005-04-11 17:45 UTC
From: a-frey at gmx dot de Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 5.0.4 OS: Windows XP Professional SP2
Private report: No CVE-ID: None
 [2005-04-11 10:03 UTC] a-frey at gmx dot de
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-11 17:45 UTC] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 07:01:27 2024 UTC