Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2013-07-01 17:03:03 +0400
committerMichal Čihař <mcihar@suse.cz>2013-07-01 17:29:47 +0400
commit0f3754a271c55e2fc7689fd0e763b0c95bdca6b2 (patch)
tree44f7ca400aed81e611b25677ca595ecb1d999666
parent3a0d5050a39dbeb11b9acd25afe8714cd335404c (diff)
Raise requirements to PHP 5.3
-rw-r--r--README2
-rw-r--r--composer.json2
-rw-r--r--doc/faq.rst4
-rw-r--r--doc/require.rst4
-rw-r--r--libraries/common.inc.php4
5 files changed, 8 insertions, 8 deletions
diff --git a/README b/README
index cc18a69444..0eaa907cb8 100644
--- a/README
+++ b/README
@@ -42,7 +42,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
Requirements
------------
-* PHP 5.2 or later
+* PHP 5.3 or later
* MySQL 5.0 or later
* a web-browser (doh!)
diff --git a/composer.json b/composer.json
index ba03706ef4..2217942cfb 100644
--- a/composer.json
+++ b/composer.json
@@ -19,6 +19,6 @@
"source": "https://github.com/phpmyadmin/phpmyadmin"
},
"require": {
- "php": ">=5.2.0"
+ "php": ">=5.3.0"
}
}
diff --git a/doc/faq.rst b/doc/faq.rst
index 4194d6ef93..4c77f71b87 100644
--- a/doc/faq.rst
+++ b/doc/faq.rst
@@ -395,8 +395,8 @@ MMCache but upgrading MMCache to version 2.3.21 solves the problem.
Yes.
-Since release 3.0 only PHP 5.2 and newer. For older PHP versions, use
-phpMyAdmin 2.11.x.
+Since release 4.1 phpMyAdmin supports only PHP 5.3 and newer. For PHP 5.2 you
+can use 4.0.x releases.
.. _faq1_32:
diff --git a/doc/require.rst b/doc/require.rst
index 1452ee34ff..e45e8fef8c 100644
--- a/doc/require.rst
+++ b/doc/require.rst
@@ -12,7 +12,7 @@ web server (such as Apache, :term:`IIS`) to install phpMyAdmin's files into.
PHP
---
-* You need PHP 5.2.0 or newer, with ``session`` support, the Standard PHP Library
+* You need PHP 5.3.0 or newer, with ``session`` support, the Standard PHP Library
(SPL) extension and JSON support.
* To support uploading of ZIP files, you need the PHP ``zip`` extension.
@@ -31,7 +31,7 @@ PHP
* To support upload progress bars, see :ref:`faq2_9`.
* To support XML and Open Document Spreadsheet importing, you need PHP
- 5.2.17 or newer and the `libxml <http://www.php.net/libxml>`_
+ with the `libxml <http://www.php.net/libxml>`_
extension.
.. seealso:: :ref:`faq1_31`, :ref:`authentication_modes`
diff --git a/libraries/common.inc.php b/libraries/common.inc.php
index 78fc012810..39ec4c1ecf 100644
--- a/libraries/common.inc.php
+++ b/libraries/common.inc.php
@@ -35,8 +35,8 @@
* Minimum PHP version; can't call PMA_fatalError() which uses a
* PHP 5 function, so cannot easily localize this message.
*/
-if (version_compare(PHP_VERSION, '5.2.0', 'lt')) {
- die('PHP 5.2+ is required');
+if (version_compare(PHP_VERSION, '5.3.0', 'lt')) {
+ die('PHP 5.3+ is required');
}
/**