HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   php segmentation faults (http://www.howtoforge.com/forums/showthread.php?t=33013)

technoid 29th March 2009 17: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 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

till 29th March 2009 18:01

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

webno 1st April 2009 00:32

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.


All times are GMT +2. The time now is 17:47.

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