php segmentation faults

Discussion in 'General' started by technoid, Mar 29, 2009.

  1. technoid

    technoid New Member

    I noticed that I am getting alot of segmentation faults on my php, including when I do a php --version. Here is the output:

    PHP 5.2.6-1+lenny2 with Suhosin-Patch 0.9.6.2 (cli) (built: Jan 26 2009 22:41:04)
    Copyright (c) 1997-2008 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
    Segmentation fault

    I have traced the segmentation faults down the the mysql and mysqli php extension.

    Any ideas of what I need to do to fix this? Things seem to be working fine, but I am fearful of doing the upgrade to 3.0.1 from 3.0.9RC due to this error.

    Thank you,
    technoid
     
  2. till

    till Super Moderator

    You should check the hardware of your server with e.g. memckeck.
     
  3. webno

    webno New Member

    Was having the same problem.

    Migrated the virtual machine arround without any luck.

    Did what was advised at:
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493045

    1) Install php5-dev, libmysqlclient15-dev and the source of php5 (apt-get source php5)
    2) cd php5-5.2.6.dfsg.1/ext/mysql/
    3) run "phpize" in this directory
    4) ./configure && make && make install

    All is fine now.
     

Share This Page