Upgrading from PHP 4.1

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

    #1

    Upgrading from PHP 4.1

    I'm trying to work with the mail() function on a server with PHP 4.1
    and am starting to think that the problem in not getting the function
    to work resides at least partially with the older version of PHP
    (since I can make the same code work on another machine with v5.x on
    it).

    How difficult is it to upgrade version 4.x to the newest PHP version?
    Can a person merely install over the top of the old one as with many
    other windows software packages and then edit the ini file to get up
    and running? TIA
  • J.O. Aho

    #2
    Re: Upgrading from PHP 4.1

    cover wrote:[color=blue]
    > I'm trying to work with the mail() function on a server with PHP 4.1
    > and am starting to think that the problem in not getting the function
    > to work resides at least partially with the older version of PHP
    > (since I can make the same code work on another machine with v5.x on
    > it).
    >
    > How difficult is it to upgrade version 4.x to the newest PHP version?
    > Can a person merely install over the top of the old one as with many
    > other windows software packages and then edit the ini file to get up
    > and running? TIA[/color]

    You should always uninstall and then reinstall, backup your php.ini just for case.

    Comment

    • cover

      #3
      Re: Upgrading from PHP 4.1

      On Fri, 05 May 2006 06:18:37 +0200, "J.O. Aho" <user@example.n et>
      wrote:
      [color=blue]
      >You should always uninstall and then reinstall, backup your php.ini just for case.[/color]

      So in a case where Triad had been installed, you'd advocate
      uninstalling 'triad' and reloading the new version? (the I.T. guy
      loaded Triad as the easy way to get me MySQL, PHP, and Apache

      Comment

      • cwep

        #4
        Re: Upgrading from PHP 4.1

        Use EasyPhp (French). It includes Apache and MySql.
        http://www.softpedia.com/get/Authori.../EasyPHP.shtml

        Regards,
        Kees Epema


        cover schreef:[color=blue]
        > On Fri, 05 May 2006 06:18:37 +0200, "J.O. Aho" <user@example.n et>
        > wrote:
        >[color=green]
        >> You should always uninstall and then reinstall, backup your php.ini just for case.[/color]
        >
        > So in a case where Triad had been installed, you'd advocate
        > uninstalling 'triad' and reloading the new version? (the I.T. guy
        > loaded Triad as the easy way to get me MySQL, PHP, and Apache[/color]

        Comment

        • Colin McKinnon

          #5
          Re: Upgrading from PHP 4.1

          cover wrote:
          [color=blue]
          > On Fri, 05 May 2006 06:18:37 +0200, "J.O. Aho" <user@example.n et>
          > wrote:
          >[color=green]
          >>You should always uninstall and then reinstall, backup your php.ini just
          >>for case.[/color]
          >
          > So in a case where Triad had been installed, you'd advocate
          > uninstalling 'triad' and reloading the new version? (the I.T. guy
          > loaded Triad as the easy way to get me MySQL, PHP, and Apache[/color]

          So if you're using Triad, I guess you've got less than tens of thousands of
          lines of code, but don't have offline backup servers, nor continious
          integration testing running.

          As long as you stay with with 4.something then you should just need to tweak
          your ini files a little. Moving to 5 is more likely to break your code,
          particularly if you write OO. The nasty is that it will mostly be semantic
          errors that show up. But you're going to have to do it sooner or later.

          HTH

          C.

          Comment

          Working...