ID:               34012
 User updated by:  bjorn dot malmberg at gmail dot com
 Reported By:      bjorn dot malmberg at gmail dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         MySQL related
 Operating System: Debian Sarge 3.1
 PHP Version:      4.4.0
 New Comment:

Upgraded to version 3.3.5 (seems to be the latest in apt), recompiled
Apache and PHP and Apache still segfaults when I try to connect to
MySQL...

qnlidev01:/usr/src/php/php-4.4.0# gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--enable-__cxa_atexit --with-system-zlib --enable-nls
--without-included-gettext --enable-clocale=gnu --enable-debug
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc
i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)


Previous Comments:
------------------------------------------------------------------------

[2005-08-06 20:10:34] [EMAIL PROTECTED]

Try upgrading your GCC to something up-to-date..


------------------------------------------------------------------------

[2005-08-06 14:45:43] bjorn dot malmberg at gmail dot com

Compiler:
qnlidev01:~# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

I downloaded MySQL from the mysql.com site, it isn't from the Debian
apt system. I have the MySQL header files in /usr/local/mysql/include
as shown in the configline of PHP (--with-mysql=/usr/local/mysql)

------------------------------------------------------------------------

[2005-08-06 12:34:25] [EMAIL PROTECTED]

If you're using Debian's mysql package, try upgrading it. I had strange
segfaults with some older versions that were solved by upgrading to the
latest package.

------------------------------------------------------------------------

[2005-08-06 00:07:12] [EMAIL PROTECTED]

1) What compiler are you using?
2) Where did you get MySQL?


------------------------------------------------------------------------

[2005-08-05 19:52:10] bjorn dot malmberg at gmail dot com

No I can't... This is the only machine I have with Linux on.

I upgraded this machine from Debian 3.0 to 3.1, unfortunately I also
upgraded PHP (4.3.11-4.4.0), MySQL (4.0.12?-4.1.13) and Apache
(1.3.29-1.3.31) at the same time, so I can't be 100% sure that the
cause is the upgrade to Sarge.

Both Apache and MySQL by themselves works as expected.

For now I could "downgrade" this machine to 3.0 again, but that
wouldn't solve the problem for others with 3.1...

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/34012

-- 
Edit this bug report at http://bugs.php.net/?id=34012&edit=1

Reply via email to