phpMyAdmin httpd segmentation fault

Terry Todd tlt at badger.tltodd.com
Thu Feb 15 12:43:36 UTC 2007



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" <spil.oss at googlemail.com>
> Subject: Re: phpMyAdmin httpd segmentation fault
> To: freebsd-questions at freebsd.org, "Terry Todd"
> 	<tlt at badger.tltodd.com>
> Message-ID:
> 	<5fbf03c20702140626n66311addt1d6ccc3dc3de0c6f at 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 <gerard at seibercom.net> 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


More information about the freebsd-questions mailing list