ARCHIVE: Requirements - older versions
- A Web Server that can execute PHP scripts
- Recommended: Apache. Development is done with version 1.3.x. Successfully tested with version 2.0.x.
- Optional: IIS. Drupal is being developed with IIS compatibility in mind, and IIS5 and IIS6 work with a correctly configured PHP setup.
- PHP
- As of Drupal 4.6, the CMS requires PHP version 4.3.3+ (PHP 5 is supported for the 4.6 release). Drupal 4.2 to 4.5.2 inclusive require PHP version 4.1+. Older versions of Drupal will run on PHP 4.0.6+. We recommend using the latest version of PHP 4.x.
- PHP XML extension (for blogapi, drupal, and ping modules). This extension is enabled by default in a standard PHP installation; the windows version of PHP has built-in support for this extension.
- PHP memory of 8MB for a Drupal core install. If you install additional contributed modules you may need to raise your php allowed memory. Prepackaged Drupal distributions such as CivicSpace may have higher PHP memory requirements then a Drupal core install.
- session.save_handler: user
- In addition, we recommend the following settings:
- session.cache_limiter: none
- (We only mention directives that differ from the default php.ini-dist / php.ini-recommended starting with PHP 4.0.6)
- with Apache (or a compatible web server),
- if the .htaccess file is actually read, i.e. AllowOverride is not None,
- if PHP is installed as an Apache module.
- Recommended: MySQL, v3.23.17 or newer (for our use of INNER JOIN's with join_condition's). MySQL 4 is fine.
- Drupal makes use of features not available on some inexpensive hosting plans, like LOCK TABLE
- Working well since 4.7: PostgreSQL, version 7.3 or newer (7.2 will probably work too, but you'll get some errors when updating from 4.6). Experiences with other databases are greatly welcome.
Note: If your system/host is running MySQL 4.1 or newer, a link in the troubleshooting section (http://drupal.org/node/35226) points to this page, which has some helpful info on addressing this problem with PHP 4.x and PHP5. There is a minor OS issue with some MySQL 5+ installations primarily on Windows but affecting some *nix installs as well.
Also, xTemplate (the default theme engine for Drupal 4.6.x and previous) is reported to have issues with PHP 5.0.5 and 5.1. Converting your themes to the phpTemplate engine (default in 4.7) will work around this issue.
