diff options
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | composer.json | 2 | ||||
-rw-r--r-- | doc/faq.rst | 4 | ||||
-rw-r--r-- | doc/require.rst | 4 | ||||
-rw-r--r-- | libraries/common.inc.php | 4 |
5 files changed, 8 insertions, 8 deletions
@@ -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'); } /** |