0 Replies Latest reply on Jul 13, 2007 3:25 AM by Newsgroup_User

    Support for PHP 4 coming to an end - implications for DW

    Level 7
      This is a copy of a post I sent to the Dreamweaver Application
      Development forum, but it's relevant to many people here, too. Apologies
      if you have already read it.

      Today (13 July 2007) is the third anniversary of the release of PHP 5.
      To mark this occasion, the PHP development team has announced that
      support for PHP 4, except for critical security fixes, will be
      discontinued on 31 December. Furthermore, even critical security fixes
      for PHP 4 will cease on 8 August 2008 (8/8/08). You are urged to move to
      PHP 5.2 as soon as practicable.

      As far as PHP code generated by Dreamweaver MX 2004, DW8, and DW CS3 is
      concerned, this change will have NO effect. The code runs without
      problem on PHP 5.2, and should continue to run even when PHP 6 is
      eventually released.

      Code generated by Dreamweaver MX should be upgraded to run on PHP 5.2,
      as it uses deprecated predefined variables, such as $HTTP_POST_VARS
      (instead of $_POST). Although PHP 5.2 can be configured to support the
      deprecated variables, they will NOT be supported in PHP 6, so it's a
      good idea to start planning ahead.

      If you're on shared hosting, the likelihood is that your server still
      runs PHP 4. Now is the time to start pressuring your hosting company to
      commit to upgrade to PHP 5.2. There's no need to panic, because there
      will be security patches for another year; but after that, any host
      still running PHP 4 will leave you potentially open to security risks.

      A lot of people worry that switching from PHP 4 to PHP 5 will result in
      broken sites. For the vast majority of people, it won't. When I switched
      three years ago, I didn't need to change a single line of code. The only
      people who are likely to face problems are those using very old code or
      object-oriented PHP.

      --
      David Powers, Adobe Community Expert
      Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
      Author, "PHP Solutions" (friends of ED)
      http://foundationphp.com/