php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43159 getting segmentation fault(page cant be displayed) after upgrading to mysql 4.1
Submitted: 2007-10-31 11:47 UTC Modified: 2007-11-20 01:00 UTC
From: bhattacharjee at avaya dot com Assigned:
Status: No Feedback Package: MySQL related
PHP Version: 4.4.7 OS: linux 2.1 enterprise
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bhattacharjee at avaya dot com
New email:
PHP Version: OS:

 

 [2007-10-31 11:47 UTC] bhattacharjee at avaya dot com
Description:
------------
We are using php4.4.7 with apache 2 on linux 2.x having mysql as database.
Recently upgraded mysql to 4.1.21 from 4.0.27 & since then started getting segmentation fault, & on the web site page cant be displayed.

we tried to downgrade to mysql 4.0.27 again but the mysql client API doesnot change. After downgrading When we are checking the version from prompt with mysqladmin then its showing 4.0. but when we check it on phpinfo.php then it gives client api of 4.1.21.

Again we upgraded to mysql enterprise 5.0.46 & facing the same problem.

The steps we follow is,

Install mysql (from binary, copying the files to /usr/local/mysql) & then configure & make, make install for php. 

Any quick assistance on this issue is greatly appreciated.

Expected result:
----------------
Our expectation is that
either php 4.4.7 should work with mysql 5
or we should go back to mysql 4.0.27 which currently not happening as we see on phpinfo.php.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-31 12:42 UTC] johannes@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
 [2007-11-01 06:59 UTC] bhattacharjee at avaya dot com
We have upgrade to mysql 5.0.46 & configured php 4.4.7 with mysql.
In the phpinfo.php page, where we can see all the software & configuration related information, the mysql client API version is shown as 5.0.46.
Now we downgraded mysql to 4.1.21 & configured php with mysql. But the mysql client API version doesnt change. It remains on 5.0.46.

Is there anything different that I need to do while configuring php?

Can the mysql client API be downgraded atall?
 [2007-11-12 10:01 UTC] tony2001@php.net
>Now we downgraded mysql to 4.1.21 & configured php with mysql. 
>But the mysql client API version doesnt change. It remains on 5.0.46.

This means that you've built PHP with new MySQL headers from 5.0.46.

 [2007-11-20 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 11:01:28 2024 UTC