ID: 34012
Updated by: [EMAIL PROTECTED]
Reported By: bjorn dot malmberg at gmail dot com
-Status: Open
+Status: Closed
Bug Type: MySQL related
Operating System: Debian Sarge 3.1
PHP Version: 4.4.0
Previous Comments:
------------------------------------------------------------------------
[2005-08-06 20:51:02] bjorn dot malmberg at gmail dot com
Wrong by me. Sorry about that, I forgot to do a make clean before
recompiling, this time it worked! No segfault, seems like Debian should
upgrade gcc when doing a dist-upgrade to a newer version with newer
versions of gcc.
Thanks a lot! It's now working and you can close this ticket!
------------------------------------------------------------------------
[2005-08-06 20:41:25] bjorn dot malmberg at gmail dot com
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)
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
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