Commit db312248 authored by Drew Webber's avatar Drew Webber
Browse files

Issue #3319435 by mcdruid, poker10: Update system requirements (including INSTALL.txt) for D7

parent 98b92ad9
Loading
Loading
Loading
Loading
+1 −1
Changes for INSTALL.sqlite.txt: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ SQLITE REQUIREMENTS
-------------------

To use SQLite with your Drupal installation, the following requirements must be
met: Server has PHP 5.2 or later with PDO, and the PDO SQLite driver must be
met: Server has PHP 5.3 or later with PDO, and the PDO SQLite driver must be
enabled.

SQLITE DATABASE CREATION
+13 −12
Changes for INSTALL.txt: 13 added lines, 12 removed lines.
Original line number Diff line number Diff line
@@ -15,19 +15,20 @@ REQUIREMENTS AND NOTES
Drupal requires:

- A web server. Apache (version 2.0 or greater) is recommended.
- PHP 5.2.4 (or greater) (http://www.php.net/).
- PHP 5.3.3 (at least, PHP 7.x or greater recommended) (https://www.php.net/).
- One of the following databases:
  - MySQL 5.0.15 (or greater) (http://www.mysql.com/).
  - MariaDB 5.1.44 (or greater) (http://mariadb.org/). MariaDB is a fully
    compatible drop-in replacement for MySQL.
  - Percona Server 5.1.70 (or greater) (http://www.percona.com/). Percona
    Server is a backwards-compatible replacement for MySQL.
  - PostgreSQL 8.3 (or greater) (http://www.postgresql.org/).
  - SQLite 3.3.7 (or greater) (http://www.sqlite.org/).

For more detailed information about Drupal requirements, including a list of
PHP extensions and configurations that are required, see "System requirements"
(http://drupal.org/requirements) in the Drupal.org online documentation.
  - MySQL 5.5 (or greater) (https://www.mysql.com/) or equivalent versions of a
    compatible database such as MariaDB or Percona.
  - PostgreSQL 9.5 (or greater) (https://www.postgresql.org/).
  - SQLite 3.27 (or greater) (https://www.sqlite.org/).

Note that version numbers above represent the minimum versions that Drupal 7 is
routinely tested with. For more detailed information about compatibility with
newer versions (that benefit from support from their maintainers), and
requirements including a list of PHP extensions and configurations that are
required, see "System requirements"
(https://www.drupal.org/docs/7/system-requirements) in the Drupal.org online
documentation.

For detailed information on how to configure a test server environment using a
variety of operating systems and web servers, see "Local server setup"
+1 −1
Changes for includes/bootstrap.inc: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
/**
 * Minimum supported version of PHP.
 */
define('DRUPAL_MINIMUM_PHP', '5.2.4');
define('DRUPAL_MINIMUM_PHP', '5.3.3');

/**
 * Minimum recommended value of PHP memory_limit.
+2 −2
Changes for install.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -16,8 +16,8 @@
define('MAINTENANCE_MODE', 'install');

// Exit early if running an incompatible PHP version to avoid fatal errors.
if (version_compare(PHP_VERSION, '5.2.4') < 0) {
  print 'Your PHP installation is too old. Drupal requires at least PHP 5.2.4. See the <a href="http://drupal.org/requirements">system requirements</a> page for more information.';
if (version_compare(PHP_VERSION, '5.3.3') < 0) {
  print 'Your PHP installation is too old. Drupal requires at least PHP 5.3.3. See the <a href="https://www.drupal.org/docs/7/system-requirements">system requirements</a> page for more information.';
  exit;
}