com web/php: Warn users about PHP 4 manual status: docs.php download-docs.php manual/php4.php
| From: | sobak@php.net | Date: | Sun, 17 Aug 2014 06:15:46 +0000 |
| Subject: | com web/php: Warn users about PHP 4 manual status: docs.php download-docs.php manual/php4.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-19759@lists.php.net to get a copy of this message | ||
Commit: 91a0093392f588682580bf43293e9a2c062f440b
Author: Sobak <msobaczewski@gmail.com> Sun, 17 Aug 2014 08:15:46 +0200
Parents: 640097c1d13818bc43ca198326b768b7596a6855
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=91a0093392f588682580bf43293e9a2c062f440b
Log:
Warn users about PHP 4 manual status
Changed paths:
M docs.php
M download-docs.php
A manual/php4.php
Diff:
diff --git a/docs.php b/docs.php
index 66d57e4..0be6988 100644
--- a/docs.php
+++ b/docs.php
@@ -26,6 +26,15 @@ site_header("Documentation", array("current" =>
"docs"));
parts might be outdated. The translation teams are open to
contributions.
</p>
+
+ <div class="warning">
+ <p>
+ Documentation for PHP 4 is currently being removed from the
+ manual, but there is archived version still available. For
+ more informations, please read <a href="/manual/php4.php">
+ this explanation</a>.
+ </p>
+ </div>
</div>
<table class="standard">
@@ -81,6 +90,10 @@ foreach ($ACTIVE_ONLINE_LANGUAGES as $langcode => $langname) {
packages</a> can be found on a separate server.
</li>
<li>
+ If you are looking for PHP 4 documentation, plase read <a
href="/manual/php4.php">
+ this explanation</a>.
+ </li>
+ <li>
You can still read a copy of the original <a href="/manual/phpfi2.php">PHP/FI
2.0 Manual</a> on our site, which we only host for historical purposes.
The same applies to the <a href="/manual/php3.php">PHP 3 Manual</a>.
diff --git a/download-docs.php b/download-docs.php
index dbe7c6d..b8ecd7c 100644
--- a/download-docs.php
+++ b/download-docs.php
@@ -67,6 +67,10 @@ $formats = array(
translations are based on that version. Most of the translations
are not complete, and contain English parts.
</li>
+ <li>
+ If you are looking for PHP 4 documentation, plase read
+ <a href="/manual/php4.php">this explanation</a>.
+ </li>
</ul>
<p class="warn">
diff --git a/manual/php4.php b/manual/php4.php
new file mode 100644
index 0000000...76664fe
--- /dev/null
+++ b/manual/php4.php
@@ -0,0 +1,41 @@
+<?php
+$_SERVER['BASE_PAGE'] = 'manual/php4.php';
+include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
+site_header('PHP Version 4 Documentation');
+?>
+
+<h1>Documentation for PHP 4</h1>
+
+<h2>Introduction</h2>
+<p>
+ The PHP 4 documentation was removed from the PHP Manual in August 2014,
+ approximately six years after PHP 4 reached its end of life. However, we have
+ provided downloadable copy of manual for anyone who would need it.
+</p>
+
+<h2>PHP 4 Manual</h2>
+<p>
+ An attempt was made to preserve as many documentation related to PHP 4, as it is
+ possible. Despite this, we don't have nice, separate manual covering only PHP 4.
+ The reason for this is how our documentation is structured. Even so, archived copy
+ describes more ascpets of PHP 4 than actual manual described in August 2014 (e.g.
+ it covers more PHP 4 extensions)..
+</p>
+
+<p>
+ To download copy of the manual for PHP 4, see the <a href="http://doc.php.net/archives/">
+ documentation archives</a>. Please, remember, that archived version <strong>should not
+ </strong> be used in everyday development, unless you are developing PHP 4 applications.
+ This version lacks many topics connected with PHP 5 and it is not updated anymore.
+</p>
+
+<h2>Migrating to PHP 5</h2>
+<p>
+ All users are strongly encouraged to upgrade their environments to PHP 5.
+ Please, read guide for <a href="http://php.net/manual/en/migration5.php">Migrating
+ from PHP 4 to PHP 5.0.x</a> and <a href="http://php.net/manual/en/faq.migration5.php">
+ Migrating from PHP 4 to PHP 5 FAQ</a>, for more informations.
+</p>
+
+<?php
+site_footer();