cvs: phpweb / downloads.php index.php /include releases.inc version.inc /releases index.php

From: Date: Thu, 30 Apr 2009 11:23:48 +0000
Subject: cvs: phpweb / downloads.php index.php /include releases.inc version.inc /releases index.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-4593@lists.php.net to get a copy of this message
bjori Thu Apr 30 11:23:48 2009 UTC Modified files: /phpweb index.php downloads.php /phpweb/include releases.inc version.inc /phpweb/releases index.php Log: So long PHP4, and thanks for all the fish!

http://cvs.php.net/viewvc.cgi/phpweb/index.php?r1=1.909&r2=1.910&diff_format=u Index: phpweb/index.php diff -u phpweb/index.php:1.909 phpweb/index.php:1.910 --- phpweb/index.php:1.909 Sun May 11 19:11:37 2008 +++ phpweb/index.php Thu Apr 30 11:23:47 2009 @@ -148,19 +148,17 @@ * For RC: See the $PHP_x_RC variable * For STABLE: See the $PHP_x_VERSION/_DATE/_MD5 variables */ -$PHP_5_STABLE = $PHP_4_STABLE = array(); -$PHP_5_RC = $PHP_4_RC = ""; +$PHP_5_STABLE = array(); +$PHP_5_RC = ""; $rel = $rc = ""; list($PHP_5_STABLE, ) = each($RELEASES[5]); -list($PHP_4_STABLE, ) = each($RELEASES[4]); $rel = <<< EOT <div id="releaseBox"> <h4>Stable Releases</h4> <ol id="releases"> <li class="php5"><a href="/downloads.php#v5">Current PHP 5 Stable: <span class="release">$PHP_5_STABLE</span></a></li> - <li class="php5"><a href="/downloads.php#v4">Historical PHP 4 Stable: <span class="release">$PHP_4_STABLE</span></a></li> </ol> </div>\n EOT; @@ -173,13 +171,6 @@ $rc .= " <li class=\"php5\"><a href=\"http://qa.php.net/\">Current PHP 5 RC: <span class=\"release\">$PHP_5_RC</span></a></li>\n"; } } -if (count($RELEASES[4])>1) { - list($PHP_4_RC, ) = each($RELEASES[4]); - - if (!empty($PHP_4_RC)) { - $rc .= " <li class=\"php4\"><a href=\"http://qa.php.net/\">Current PHP 4 RC: <span class=\"release\">$PHP_4_RC</span></a></li>\n"; - } -} if (!empty($rc)) { $rel .= <<< EOT http://cvs.php.net/viewvc.cgi/phpweb/downloads.php?r1=1.291&r2=1.292&diff_format=u Index: phpweb/downloads.php diff -u phpweb/downloads.php:1.291 phpweb/downloads.php:1.292 --- phpweb/downloads.php:1.291 Mon Dec 8 21:35:33 2008 +++ phpweb/downloads.php Thu Apr 30 11:23:48 2009 @@ -1,5 +1,5 @@ <?php // vim: et -// $Id: downloads.php,v 1.291 2008/12/08 21:35:33 bjori Exp $ +// $Id: downloads.php,v 1.292 2009/04/30 11:23:48 bjori Exp $ $_SERVER['BASE_PAGE'] = 'downloads.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/version.inc'; @@ -120,64 +120,5 @@ ChangeLog</a> details all the other changes. </p> -<hr /> - - -<a name="v4"></a> -<h1>PHP <?php list($v, $a) = each($RELEASES[4]); echo $v ?></h1> - -<p> - Support for PHP 4 has been <b style="color: red">discontinued</b> since 2007-12-31. Please consider - upgrading to PHP 5.2. The release below is the last PHP 4 release. -</p> - -<h2>Complete Source Code</h2> -<ul> -<?php -foreach($a["source"] as $rel) { - echo " <li>\n "; - download_link($rel["filename"], $rel["name"]); echo " - {$rel["date"]}<br />\n"; - echo " <span class=\"md5sum\">md5: {$rel["md5"]}</span>\n"; - (isset($rel["note"]) && $rel["note"] ? "<p><strong>Note:</strong> {$rel["note"]}</p>": ""); - echo " </li>\n"; -} -?> -</ul> - -<?php -$announce_text = "."; -if($a["announcement"]) { - $file = str_replace(".", "_", $v); - $announce_text = ', or the <a href="/releases/' .$file. '.php">release notes</a> for' - . ' more information on this particular release.'; -} -?> -<p> - See the <a href="/ChangeLog-4.php">ChangeLog</a> for a complete list of - changes<?php echo $announce_text;?> -</p> - -<h2>Windows Binaries</h2> - -<p> - All Windows binaries can be used on Windows 98/Me and on Windows - NT/2000/XP/2003. -</p> - -<ul> -<?php -if(isset($a["windows"])) { - foreach($a["windows"] as $rel) { - echo " <li>\n "; - download_link($rel["filename"], $rel["name"]); echo " - {$rel["date"]}<br />\n"; - echo " <span class=\"md5sum\">md5: {$rel["md5"]}</span>\n"; - echo isset($rel["note"]) && $rel["note"] ? "<p><strong>Note:</strong> {$rel["note"]}</p>": ""; - echo " </li>\n"; - } -} else { - echo "<li>The Windows binaries follow shortly.</li>\n"; -} -?> -</ul> <?php site_footer(); ?> http://cvs.php.net/viewvc.cgi/phpweb/include/releases.inc?r1=1.15&r2=1.16&diff_format=u Index: phpweb/include/releases.inc diff -u phpweb/include/releases.inc:1.15 phpweb/include/releases.inc:1.16 --- phpweb/include/releases.inc:1.15 Thu Apr 9 10:12:03 2009 +++ phpweb/include/releases.inc Thu Apr 30 11:23:48 2009 @@ -854,6 +854,42 @@ ), 4 => array ( + '4.4.9' => + array ( + 'announcement' => + array ( + 'English' => '/releases/4_4_9.php', + ), + 'source' => + array ( + 0 => + array ( + 'filename' => 'php-4.4.9.tar.bz2', + 'name' => 'PHP 4.4.9 (tar.bz2)', + 'md5' => '2e3b2a0e27f10cb84fd00e5ecd7a1880', + 'date' => '07 August 2008', + ), + 1 => + array ( + 'filename' => 'php-4.4.9.tar.gz', + 'name' => 'PHP 4.4.9 (tar.gz)', + 'md5' => '9bcc1aba50be0dfeeea551d018375548', + 'date' => '07 August 2008', + ), + ), + 'windows' => + array ( + 0 => + array ( + 'filename' => 'php-4.4.9-Win32.zip', + 'name' => 'PHP 4.4.9 zip package', + 'md5' => '7395068d5489a9f8abf50c6e4b48622f', + 'date' => '07 August 2008', + ), + ), + 'date' => '07 August 2008', + 'museum' => false, + ), '4.4.8' => array ( 'announcement' => http://cvs.php.net/viewvc.cgi/phpweb/include/version.inc?r1=1.68&r2=1.69&diff_format=u Index: phpweb/include/version.inc diff -u phpweb/include/version.inc:1.68 phpweb/include/version.inc:1.69 --- phpweb/include/version.inc:1.68 Thu Apr 9 09:10:36 2009 +++ phpweb/include/version.inc Thu Apr 30 11:23:48 2009 @@ -41,18 +41,6 @@ The PECL package will <em>not</em> be released for this version. The 5.2.6 PECL package does however work with this release"; -/* PHP 4 Release */ -$PHP_4_VERSION = "4.4.9"; -$PHP_4_DATE = "07 August 2008"; -$PHP_4_MD5 = array( - "tar.bz2" => "2e3b2a0e27f10cb84fd00e5ecd7a1880", - "tar.gz" => "9bcc1aba50be0dfeeea551d018375548", - "zip" => "7395068d5489a9f8abf50c6e4b48622f", -); - -$PHP_4_RC = false; //"4.4.9RC1"; -$PHP_4_RC_DATE = "22 July 2008"; - $RELEASES = array( 5 => array( $PHP_5_VERSION => array( @@ -135,32 +123,5 @@ ), $PHP_5_RC => array(), ), - 4 => array( - $PHP_4_VERSION => array( - "announcement" => true, - "source" => array( - array( - "filename" => "php-$PHP_4_VERSION.tar.bz2", - "name" => "PHP $PHP_4_VERSION (tar.bz2)", - "md5" => $PHP_4_MD5["tar.bz2"], - "date" => $PHP_4_DATE, - ), - array( - "filename" => "php-$PHP_4_VERSION.tar.gz", - "name" => "PHP $PHP_4_VERSION (tar.gz)", - "md5" => $PHP_4_MD5["tar.gz"], - "date" => $PHP_4_DATE, - ), - ), - "windows" => array( /* Prefix the key with dot if they don't exists yet */ - array( - "filename" => "php-$PHP_4_VERSION-Win32.zip", - "name" => "PHP $PHP_4_VERSION zip package", - "md5" => $PHP_4_MD5["zip"], - "date" => $PHP_4_DATE, - ), - ), - ), - $PHP_4_RC => array(), - ), ); + http://cvs.php.net/viewvc.cgi/phpweb/releases/index.php?r1=1.22&r2=1.23&diff_format=u Index: phpweb/releases/index.php diff -u phpweb/releases/index.php:1.22 phpweb/releases/index.php:1.23 --- phpweb/releases/index.php:1.22 Thu Oct 30 04:01:49 2008 +++ phpweb/releases/index.php Thu Apr 30 11:23:48 2009 @@ -1,11 +1,12 @@ <?php -// $Id: index.php,v 1.22 2008/10/30 04:01:49 philip Exp $ +// $Id: index.php,v 1.23 2009/04/30 11:23:48 bjori Exp $ $_SERVER['BASE_PAGE'] = 'releases/index.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; include_once $_SERVER["DOCUMENT_ROOT"] . "/include/releases.inc"; if (isset($_GET["serialize"])) { include_once $_SERVER["DOCUMENT_ROOT"] . "/include/version.inc"; + $RELEASES = $RELEASES + $OLDRELEASES; if (isset($_GET["version"])) { $ver = (int)$_GET["version"];
« previous php.webmaster (#4593) next »