small step from 4.2.2 > 4.3.1? giant leap for mankind?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chamomile

    small step from 4.2.2 > 4.3.1? giant leap for mankind?

    I'm running a local development set up of apache/php/mysql
    on a win 2000 system.
    For my sins I installed it using an all-in-one installer (foxserv)
    support for which now seems to have vanished.
    I have a very hazy idea about how it is configured (ok, I can do the
    php.ini stuff,
    but thats about all) I think its called 'learned incompetance' or 'life's
    too short' syndrome.
    Anyway, I really need to upgrade the PHP to 4.3.1 at least to match my web
    host's implementation. (let's not even think about v.5)

    I have been trying for over a week now to get this sorted, but everytime I
    think I've done it
    apache refuses to start and I have to revert to 4.2.2. defeated. I've read
    loads of frankly unhelpful or downright incomprehensibl e information and
    clutched at straws like ' just install over the old version...' but cannot
    get this sorted.

    It turns out the windows installer for 4.3.1 won't do Apache (tells you
    after you've started) and leaves you high and dry after hinting that maybe
    it's installed 4.3.1 but 'Apache needs manually configuring' - directing you
    to another incomprehensibl e .txt file for help!

    Now, I could just uninstall the lot ( no doubt that would be a nightmare
    too)
    and get a newer idiots installation package, but I'd obviously have to
    backup all my
    mysql databases.( 40+) etc.and it seems a tad brutal when all I actually
    need is
    php 4.3.1

    OK, enough ranting, if anyone knows of a good guide to upgrading php in an
    existing apache set-up , written in plain english then I would be very very
    grateful for a pointer.


  • Wayne

    #2
    Re: small step from 4.2.2 > 4.3.1? giant leap for mankind?

    On Mon, 7 Mar 2005 14:52:06 +0000 (UTC), "Chamomile"
    <newsgroups@cha momile.co.uk> wrote:
    [color=blue]
    >OK, enough ranting, if anyone knows of a good guide to upgrading php in an
    >existing apache set-up , written in plain english then I would be very very
    >grateful for a pointer.[/color]

    In your httpd.conf (apache configuration) wherever it references the
    full path to PHP 4.2.2 change that to where you've installed PHP 4.3.1
    and it should work just fine.

    You might have to copy some DLL's into your Windows/System32 directory
    for some of the PHP extensions work. Apache sometimes gives unrelated
    errors if this hasn't been done.

    Comment

    • Chamomile

      #3
      Re: small step from 4.2.2 &gt; 4.3.1? giant leap for mankind?

      [color=blue]
      >
      > You might have to copy some DLL's into your Windows/System32 directory
      > for some of the PHP extensions work. Apache sometimes gives unrelated
      > errors if this hasn't been done.
      >[/color]
      um, any idea what these dlls are, or where they might be copied from?


      Comment

      • Wayne

        #4
        Re: small step from 4.2.2 &gt; 4.3.1? giant leap for mankind?

        On Mon, 7 Mar 2005 17:52:35 +0000 (UTC), "Chamomile"
        <newsgroups@cha momile.co.uk> wrote:
        [color=blue]
        >[color=green]
        >>
        >> You might have to copy some DLL's into your Windows/System32 directory
        >> for some of the PHP extensions work. Apache sometimes gives unrelated
        >> errors if this hasn't been done.
        >>[/color]
        >um, any idea what these dlls are, or where they might be copied from?[/color]

        After you've unzipped PHP, in the root directory is a file called
        "install.tx t". You want to look at the "Manual Installation Steps"
        and "Apache 1.3.x on Microsft Windows" chapters.

        Yes, in otherwords, RTFM. But it's all explained in there.

        To answer you question, the dlls are located in the /dll/ directory.

        Comment

        • SSM

          #5
          Re: small step from 4.2.2 &gt; 4.3.1? giant leap for mankind?

          Those dlls are the ones needed by some of the extensions that you may
          use in PHP. You can copy them from "dlls" directory, present in the
          directory into which you've installed your PHP 4.3.1.
          As you are using the MySQL extension, you'll need to copy the
          libmysql.dll without fail.

          Comment

          • Chamomile

            #6
            Re: small step from 4.2.2 &gt; 4.3.1? giant leap for mankind?

            thanks ssm
            and wayne : I have RTFM but I CMAFSOOI!

            "SSM" <ssm999@gmail.c om> wrote in message
            news:1110271753 .432491.307720@ z14g2000cwz.goo glegroups.com.. .[color=blue]
            > Those dlls are the ones needed by some of the extensions that you may
            > use in PHP. You can copy them from "dlls" directory, present in the
            > directory into which you've installed your PHP 4.3.1.
            > As you are using the MySQL extension, you'll need to copy the
            > libmysql.dll without fail.
            >[/color]


            Comment

            Working...