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

From: Mark Linford (mlinford_at_santarosa.edu)
Date: 06/16/05

  • Next message: Globe Trotter: "Re: Fwd: FC4 install: acpidaemon does not start"
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Thu, 16 Jun 2005 07:50:54 -0700
    
    

    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
    

  • Next message: Globe Trotter: "Re: Fwd: FC4 install: acpidaemon does not start"

    Relevant Pages

    • Cannot connect to any website, but FTP, Email and Ping work
      ... E. Dual booth with another XPSP2 install on D for music and video ... C drive XP is a developer box with Apache, PHP, Mysql, Dreamweaver, ... I launched DW8 again and tried to execute an FTP connection. ... and mysql and I changed the root folder for my local sites from the E ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: PHP setup question
      ... My ports tree is the one from the FBSD 7.1 install as noted above. ... MySQL was installed with: ... Apache installed via: ... when you press "write config file" you will be prompted to ...
      (freebsd-questions)
    • RE: xampp
      ... put in apache and mysql, but I had xamp on a windows machine and liked ... the control panel that xampp had. ... uninstall apache and mysql before I put in xampp or will it's install ...
      (Ubuntu)
    • Re: xampp -- MySQL problems....
      ... | a verion of it w/o MySQL, so as not to cause these problems.. ... when you install using XAMPP it *does* give you the option of whether ... there are no bits of MySQL or Apache or anything else floating around) be up ... how to configure Apache to work with PHP to work with MySQL, ...
      (comp.lang.php)
    • Re: [PHP] Question before upgrading to 5
      ... anyway I see you did do a dual apache setup, cool, and got it working properly. ... but it sure is a cool trick if you really need to run php4 sites and php5 sites on one production ... install of apache would allow you to do. ... php in so far as you can also specify a custom prefix to have ...
      (php.general)