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

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

 



hi...

as a test... can one of you guys get the source for php5 and build/install
from source..

you can download the source (tar.gz) from php.net. i want to get back to the
source....

before you do this, create a basic app and do a phpinfo() to tell us what
the config options are that php/apache is seeing for php... use these config
parameters when you're building php...

the build process (ir you're not used to it):
 ./configure (config params)
 make
 make install

 this will install in the default dirs....

i'm curious to know if the rpms for php with FC4 are somehow screwed up...

-bruce



-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx
[mailto:fedora-list-bounces@xxxxxxxxxx]On Behalf Of Dermot Daly
Sent: Thursday, June 16, 2005 9:13 AM
To: For users of Fedora Core releases
Subject: Re: Problem with apache,php and mysql after FC4 upgrade:
SegmentationFault ...


For the record:
I'm seeing this issue aswell, and it is on a brand new, completly
clean install of FC4 (i.e. I formatted the entire partition).
Should this be therefore logged as a bug?
Cheers,
Dermot.

On 6/16/05, Mark Linford <mlinford@xxxxxxxxxxxxx> wrote:
> 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
> >
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>

--
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