SMF2.0:Requirements and recommendations From Online Manual
In order to run an SMF forum, the server must meet the following requirements, and will run best on servers that also meet the recommendations below. This software has been tested and verified to work with the clients listed below, which are all internet browsers.
Basic Server Requirements
The following are required on any server intending to run SMF 2.0.
- A webserver with approximately 20MB of available disk space. Much more is recommended so that other content can be uploaded over time.
- A webserver that supports PHP, such as Apache or Internet Information Server (IIS).
- PHP 4.1.0 or higher
- Versions of SMF below 2.0.7 will not work on PHP 5.5. If you use PHP 5.5 it is necessary to use SMF 2.0.7 or greater.
- Versions of SMF from 2.0.16 onwards require a version of PHP between 5.3 and 7.3. If you use PHP 5.3 or lower, it is necessary to use SMF 2.0.13 or lower or SMF 2.0.16 or higher. This is because 2.0.14 and 2.0.15 do not support PHP 5.3. PHP 7.4 is supported by SMF 2.0.17 or higher.
- The following must be changed in the php.ini file:
enginedirective must be set to On.
magic_quotes_sybasedirective must be set to Off.
session.save_pathdirective must be set to a valid directory or empty.
file_uploadsdirective must be set to On.
upload_tmp_dirdirective must be set to a valid directory or empty.
fileinfomust be enabled.
- One of the following databases must be installed:
- The following are requirements for the database:
- For a clean SMF installation, at least 2 MB of storage space in the database. Please note that this is only enough for the installation.
- The database user must have at least the following privileges:
- The database user must have the
DROPprivileges during installation, conversion and some package installs.
These are not required, but may be beneficial to your SMF install and enable you to use more functions.
- GNU Aspell 0.50 or higher (with appropriate dictionaries) for spell checking functionality.
- Apache 2.0.x or above with AcceptPathInfo set to On for queryless URL support.
- PHP with the following set in your php.ini file:
max_input_timeset to a value of at least 30.
upload_max_filesizeset to the size of the largest attachments you wish to be able to upload.
memory_limitset to at least 32M.
max_execution_timeset to at least 15.
register_globalsset to Off.
session.use_trans_sidset to Off.
- safe mode disabled, or PHP suExec enabled.
- BCMath library enabled for using the OpenID registration method.
mod_securitydisabled (please see Mod security for more information).
- GD Graphics Library 2.0 or higher.
Basic Client Requirements
- Microsoft Internet Explorer 6.0 or higher (7.0 or higher recommended).
- Opera 7.0 or higher (9.5 or higher recommended).
- Netscape 6.0 or higher.
- Mozilla Suite 1.0.2 or higher.
- Konqueror or Galeon.
- Apple Safari 1.0 or higher (3.0 or higher recommended).
- Mozilla Firefox 3.0 or higher (3.5 or higher recommended).