From owner-freebsd-questions@FreeBSD.ORG Thu Feb 15 12:43:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 732FF16A420 for ; Thu, 15 Feb 2007 12:43:36 +0000 (UTC) (envelope-from tlt@tltodd.com) Received: from tltodd.com (tltodd.com [64.80.250.209]) by mx1.freebsd.org (Postfix) with ESMTP id 80BCE13C4A5 for ; Thu, 15 Feb 2007 12:43:34 +0000 (UTC) (envelope-from tlt@tltodd.com) Received: (from tlt@localhost) by tltodd.com (8.9.3/8.9.3) id GAA53122 for freebsd-questions@freebsd.org; Thu, 15 Feb 2007 06:43:31 -0600 (CST) (envelope-from tlt) Date: Thu, 15 Feb 2007 06:43:31 -0600 From: Terry Todd To: freebsd-questions@freebsd.org Message-ID: <20070215064331.A52565@badger.tltodd.com> References: <20070214174746.6869616A4C4@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from richard@icommbali.com on Thu, Feb 15, 2007 at 10:09:08AM +0800 Subject: Re: phpMyAdmin httpd segmentation fault X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Feb 2007 12:43:36 -0000 I have built a third system with phpMyAdmin, php5, mysql and apache (all the same versions as the previous two systems). phpMyAdmin works on this third system. Comparing the extensions in the two systems that seg fault httpd and the one that works: /usr/local/etc/php/extensions.ini from working system extension=mysql.so extension=pcre.so extension=session.so extension=bz2.so extension=gd.so extension=openssl.so extension=pdf.so extension=zlib.so extension=mcrypt.so extension=mbstring.so extension=xml.so /usr/local/etc/php/extensions.ini from not working systems extension=sqlite.so extension=mysql.so extension=pcre.so extension=session.so extension=bz2.so extension=gd.so extension=openssl.so extension=pdf.so extension=zlib.so extension=mcrypt.so extension=mbstring.so extension=mysqli.so extension=bcmath.so extension=calendar.so extension=ctype.so extension=curl.so extension=dom.so extension=exif.so extension=fileinfo.so extension=filepro.so extension=fribidi.so extension=ftp.so extension=gettext.so extension=gmp.so extension=iconv.so extension=imap.so extension=mhash.so extension=ming.so extension=ncurses.so extension=odbc.so extension=panda.so extension=pcntl.so extension=pdo.so extension=posix.so extension=pspell.so extension=readline.so extension=recode.so extension=shmop.so extension=simplexml.so extension=soap.so extension=sockets.so extension=tokenizer.so extension=xml.so extension=xmlreader.so extension=xmlwriter.so extension=zip.so extension=wddx.so extension=xmlrpc.so extension=xsl.so extension=yaz.so extension=dba.so extension=snmp.so So now I need to narrow it down to what is causing the problem. On all 3 of these systems I have not modified /etc/make.conf at all from the installed version. As an experiment I copied the working extensions.ini file to the non working system, restarted apache and it still seg faults when browsing to phpMyAdmin. Terry Todd On Thu, Feb 15, 2007 at 10:09:08AM +0800, Richard Simmonds wrote: > I've just had the phpMyAdmin not starting problem after making changes to > php.ini and adding extensions. It began as a segmentation fault with only > phpMyAdmin and then progressed, as I fiddled with config for > php4-extensions, to breaking php entirely. I too have a modded make.conf > file which I am about to change in accordance with this tip. However, to get > phpMyAdmin working again, take a look at extensions.ini. I found there were > many duplicate lines, including some for extensions I thought I'd added and > then removed. I removed duplicates and moved extension=mysql.so to the > bottom of the list. Reboot and problem solved. > > Hope this helps > > ----------------------------- > > Message: 13 > Date: Wed, 14 Feb 2007 15:26:26 +0100 > From: "Spil Oss" > Subject: Re: phpMyAdmin httpd segmentation fault > To: freebsd-questions@freebsd.org, "Terry Todd" > > Message-ID: > <5fbf03c20702140626n66311addt1d6ccc3dc3de0c6f@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Terry, > > Just solved my php / roundcube problems by removing -funroll-loops > from my CFLAGS in /etc/make.conf. Now I just have CFLAGS= -O2 -pipe > > Recollection: > 5.2.0 -march=pentium3m -O2 -pipe -funroll-loops Fail > 5.2.0 -march=pentium3 -O -pipe Success > 5.2.1 -march=pentium3m -O2 -pipe -funroll-loops Fail > Tested: > 5.2.1_1 -march=pentium3 -O -pipe Success > 5.2.1 -march=pentium3m -O -pipe Success > enable eaccelerator Success > enable suhosin Success > 5.2.1 -march=pentium3m -O2 -pipe Success > 5.2.1 -march=pentium3m -O2 -pipe -funroll-loops Fail > 5.2.1_1 -march=pentium3m -O2 -pipe Success > > So currently running apache-2.2.4 / php5-5.2.1_1 w/ suhosin 0.9.6.2 / > eaccelerator 0.95 > > rouncube running fine, but phpMyAdmin still won't fly > > Kind regards, > > Spil > > On 13/02/07, Gerard Seibert wrote: > > On Tuesday February 13, 2007 at 06:13:41 (AM) Terry Todd wrote: > > > > > > > I completed steps 1 through 6 that you suggested below. Step 6 took > > > two whole days to complete. I had to babysit the blue screens of > config. > > > > > > Sorry to say it still does the exact same thing. httpd seg faults > > > with no core file whenever the phpMyAdmin/index.php web page is browsed. > > > > Strange! It works perfectly here. Assuming you have nothing strange in > > your /etc/make.conf file, I am at a lose as to what the problem is. > > > > Sorry! > > > > -- > > Gerard