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

From: bruce (bedouglas_at_earthlink.net)
Date: 06/16/05

  • Next message: Bob Chiodini: "Re: X won't start [FC2->FC4]"
    To: "'Dermot Daly'" <dermdaly.lists@gmail.com>, "'For users of Fedora Core releases'" <fedora-list@redhat.com>, <mlinford@santarosa.edu>
    Date: Thu, 16 Jun 2005 10:41:33 -0700
    
    

    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@redhat.com
    [mailto:fedora-list-bounces@redhat.com]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@santarosa.edu> 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@redhat.com
    > > [mailto:fedora-list-bounces@redhat.com]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@redhat.com
    > > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    > >
    >
    > --
    > fedora-list mailing list
    > fedora-list@redhat.com
    > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    >

    --
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Bob Chiodini: "Re: X won't start [FC2->FC4]"

    Relevant Pages

    • Re: PHP Tutorials
      ... >> In this tutorial we assume that your server has activated support for PHP ... install a web server locally (not just Apache). ...
      (comp.lang.php)
    • RE: [PHP] Question before upgrading to 5
      ... We only use php for intranet applications I create, ... so the server is basically dead at nights, which is when I do most of my ... so your going to shut down apache on ... install of apache would allow you to do. ...
      (php.general)
    • Re: [SLE] updating to PHP5
      ... while running PHP 5 for my stuff. ... managed by SuSE staff where you can download latest apache with all ... SLES 9 doesn't need PHP for its default configuration. ... Thus, it seems possible to remove PHP4, install a new Apache instance, PHP5 ...
      (SuSE)
    • Re: PHP4 - Apache2 - MySQL What am I missing *FIXED*
      ... Now, i am working on a network management system using php4,mysql and apache, ... so that our form variables could be send to php ... >> Can someone queue me in on what I missed on the MySQL capability install? ... Faculty Of Computer Science, ...
      (Debian-User)
    • Re: php postgres issues
      ... http.config is set up to add the php module ... make install apache13 port ... apache rc script restart ... > presented with a menu to select the options for PHP such as PostgreSQL, GD, ...
      (freebsd-questions)