php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47290 Server Resets when mysql_connect() executes
Submitted: 2009-02-03 16:04 UTC Modified: 2009-02-03 22:14 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: msumar at abu dot edu dot ng Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 5.2.8 OS: Windows Vista
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: msumar at abu dot edu dot ng
New email:
PHP Version: OS:

 

 [2009-02-03 16:04 UTC] msumar at abu dot edu dot ng
Description:
------------
I installed Apache 2.2.11, PHP 5.2.8 and MySQL 5.1.30. The configuration was properly done because phpinfo() displays as expected but any mysql function does not execute. The server always resets.

I configured IIS the same and received the same error, 'Unknown error'. When I uninstall MySQL 5.1.30 and replaces it with Mysql 5.0.4 beta every thing worked well. So have the believe that something is wrong with the PHP 5.2.8 when installed with MySQL 5.1.30.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-03 21:22 UTC] msumar at abu dot edu dot ng
I installed Apache 2.2.11 and MySQL 5.1.30 then configured PHP 5.2.8 as a module. The configuration was properly done because phpinfo() displays the expected result but any mysql function does not execute at all, instead, the server always resets.

I configured IIS with the same PHP 5.2.8 and received the same error, which Windows always reports as unknown error. I then uninstall MySQL 5.1.30 and replaces it with Mysql 5.0.4 beta and
everything worked well. 

This strongly made me conclude that something is wrong
with the PHP 5.2.8 when configured to run with MySQL 5.1.30.
 [2009-02-03 22:14 UTC] jani@php.net
Works fine for me. Try with another machine, if you can reproduce in 
clean setup and after installing everything properly, post a bug.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 29 23:00:03 2025 UTC