HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   General (
-   -   php segmentation faults (

technoid 29th March 2009 18:58

php segmentation faults
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 (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,

till 29th March 2009 19:01

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

webno 1st April 2009 01:32

Was having the same problem.

Migrated the virtual machine arround without any luck.

Did what was advised at:

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.

All times are GMT +2. The time now is 16:29.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.