http://www.privaterra.org/blog-rg/fixing_the_php_mysql_apache_segfault.html
Fixing the PHP/MySQL Apache segfault
I'd like to thank Piotras for his help today in helping me squash a nasty segfault that crept in the last time i did a apt-get dist-upgrade on my debian sarge/testing server.
Here's a summary of the set of instructions that fix things...
apt-get install php4-dev libmysqlclient12-dev apt-get source -d php4 dpkg-source -x php4_4.3.10-2.dsc cd php4-4.3.10/ext/mysql/ phpize ./configure --with-mysql=/usr ; make cp .libs/mysql.so /usr/lib/php4/20020429/ /etc/init.d/apache2 reload
At 10:52 AM +0100 2/4/05, Sonic wrote:
Hi!
I just installed midgard 1.6.2 from .debs on Sarge and I got the same problem. phpMyAdmin doesn't run anymore, when I try to access it, the following errors are produced (in Apache2 error.log):
[Fri Feb 04 10:50:38 2005] [notice] child pid 3601 exit signal Segmentation fault (11) [Fri Feb 04 10:50:38 2005] [notice] child pid 3604 exit signal Segmentation fault (11)
Bay,
Andreas
Am Donnerstag, 3. Februar 2005 17:00 schrieb Robert Guerra:I am still having issues with apache2 basically burping every time certain php scripts are run. Midgard seems fine, but i can't seem to use phpmyadmin anymore.
Piotras was kind enough to help me with instructions on how to compile php4 from source - which i did, but the problem still remains.
I know it's not a midgard problem per-se, but quite frustrating non the less. I will try to compile apache2 from source and see if that fixes the problem.
curious to know if others running sarge/testing with apache2 are experiencing the same problems.
regards
Robert
At 9:22 AM -0500 2/2/05, Robert Guerra wrote: >I've been trying to track down something similiar - apache started >segfaulting on me last week when i run certain php pages that access >mysql > >after a lot of researching and several long chats with collegues - i >seem to have tracked down the problem. it seems that it's the latest >PHP that got updated on my machine. > > >Details of this critical PHP4 bug can be found @ > >http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=php4 > >I am hoping a fix comes out soon - as to be honest, i haven't a clue >how to fix it. > >regards > >Robert > >At 2:11 PM +0000 2/2/05, Michael Ross (PCT North West) wrote: >>Alan: >> >>Compiling is not a problem, its running the apache 2 module that causes >> the problem. It segfaults on a large number of user and group commands, >> but I will certainly try your suggestions with the use flags and report >> back. >> >>Every one else: >> >>Thanks for all the info. I will have a look and see if there is a way to >>track down and fix this problem. I have a bit more to go on now. Will >>report back with what I find. >> >>Cheers and Thanks > >-- >### >Robert Guerra <[EMAIL PROTECTED]> >Privaterra - <http://www.privaterra.org>
-- Adding sound to movies would be like putting lipstick on the Venus de Milo. -- Mary Pickford, 1925
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- ### Robert Guerra <[EMAIL PROTECTED]> Privaterra - <http://www.privaterra.org>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
