Core Dump after Php & Mysql update

byteware

Verified User
Joined
Sep 2, 2004
Messages
6
I just updated to PHP 4.3.11 & Mysql 4.1.12

I get blank web pages due to a Segmentation fault - Core Dump - No other error messages - ALL output is supressed when using ADODB for Mysql access.

If fails upon: Connect("localhost", $user, $pwdi) - Note DB is not selected here.

It does not apear to be related to the actual data.

When using basic PHP commands: mysql_connect($server,$user,$pwd )
all is OK.

I find nothing on ADODB site and nothing at Mysql or PHP sites.

I running DA 1.24.3 on Fedora Core 2.
I ran the customapache "build all" command (after "build update").

I have updated the following Mysql files:
MySQL-client-4.1.12-1.i386.rpm
MySQL-devel-4.1.12-1.i386.rpm
MySQL-server-4.1.12-1.i386.rpm
MySQL-shared-4.1.12-1.i386.rpm
MySQL-shared-compat-4.1.11-0.i386.rpm

Everything has been restarted several times.

To get the "Segmentation fault" I had to run from the command line (CLI).

Note the error does not occur untill connecting to Mysql (pconnect or connect).
 
I guess you downloaded an incompatable RPM for your OS. Normaly the standard rpm's will work. Except if there are dependency problems and you use --force and/or --nodeps while installing.

If it still doesn't work try compiling the tarballs. The first ones in the download section ;)
 
Thank you - But that is not it. I have installed the RPMs, Binary files, and compiled frm source. Still the same problem.

Mysql works from the command line.

Using native Mysql commands in PHP (sort of) works.

It fails when using a library like ADODB.

I have upgraded PHP & Mysql many times before using the customapache build scripts without a single problem.

Is it possible to get back to a "stock" version of DA (with live sites)?

There are over 120 sites on this server
many using PHP/Mysql.
 
Last edited:
Back
Top