RE: Problem with apache, php and mysql after FC4 upgrade: SegmentationFault ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2005-06-15 at 20:54 -0700, bruce wrote:
> what version of php/mysql...
> 
> is the system a clean install...

Mostly. /var and /home are separate partitions on my box, so I didn't
format them during the install process. Everything else is fresh.


> 
> php --v (or whatever)
> mysql --v (or whatever)

PHP 5.0.4 (cli) (built: May  9 2005 11:21:11)
mysql  Ver 14.7 Distrib 4.1.11, for redhat-linux-gnu (i386)

Hmmmm. This is interesting. As I mentioned before, /var is from my "old"
FC3 install (including, of course /var/lib/mysql). So, the databases in
there were created under mysql 3.x, but we're at 4.x with FC4. Maybe
that's part of the problem. I'm gonna try creating a brand new db under
mysql 4.x, and see what happens...


> 
> what is/are the access owner/privs for the apache process running the php
> app?

User apache
Group apache


> 
> when you did the test at the command line level, are you root, or some other
> user? what happens if you switch to the user that apache runs as... i know,
> basic debugging questions!!

But they're good debugging questions, so I'm not offended :) Originally,
I did run that shell script as root. However, I just tried it as the
apache user, and got the same results (i.e.: runs great as CLI)

> 
> -bruce
> 
> 
> -----Original Message-----
> From: fedora-list-bounces@xxxxxxxxxx
> [mailto:fedora-list-bounces@xxxxxxxxxx]On Behalf Of craig thomas
> Sent: Wednesday, June 15, 2005 6:29 PM
> To: For users of Fedora Core releases
> Subject: RE: Problem with apache, php and mysql after FC4 upgrade:
> SegmentationFault ...
> 
> 
> On Wed, 2005-06-15 at 12:38 -0700, Mark Linford wrote:
> > On Wed, 2005-06-15 at 12:26 -0700, bruce wrote:
> > > i'd advise you to create a simple php test to simply connect to the db,
> and
> > > see if you get this to work.. shouldn't be more than 10-20 lines of
> code....
> >
> > I just did that. Just a simple connect to the database and give me your
> > status kinda-thing. Strangely, from the command line (php ./test.php),
> > it works fine, no errors, etc. It's only when it's run with apache that
> > it seg-faults.
> 
> Sounds odd. Post the script so we can try it.
> 
> --
> Craig Thomas
> 
> 
> 
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux