SMF2.1:Requirements and recommendations: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
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.  
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==
==Minimum Server Requirements==


The following are required on any server intending to run SMF 2.1.
The following are required on any server intending to run SMF 2.1.


* A webserver with approximately 20MB of available disk space. Much more is recommended so that other content can be uploaded over time.
* A web server 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).
* A web server that supports PHP, such as Apache or Internet Information Server (IIS).
* [http://www.php.net PHP] 7.0 or higher
* [http://www.php.net PHP] 7.0 or higher
* The following must be changed in the php.ini file:
* The following must be changed in the php.ini file:
Line 14: Line 14:
** The <code>file_uploads</code> directive must be set to On.
** The <code>file_uploads</code> directive must be set to On.
** The <code>upload_tmp_dir</code> directive must be set to a valid directory or empty.
** The <code>upload_tmp_dir</code> directive must be set to a valid directory or empty.
** The <code>fileinfo</code> must be enabled.  
** The <code>fileinfo</code> extension must be enabled.
** The <code>mbstring</code> extension must be enabled.  
* One of the following databases must be installed:
* One of the following databases must be installed:
** [http://www.mysql.com MySQL] 5.6 or higher.
** [http://www.mysql.com MySQL] 5.6 or higher.
**[http://www.postgresql.org PostgreSQL] 9.6 or higher (<code>standard_conforming_strings</code> must be set to off, starting from PostgreSQL 9.1 default is on)
** [http://www.postgresql.org PostgreSQL] 9.6 or higher (<code>standard_conforming_strings</code> must be set to on).
** [https://www.mariadb.com MariaDB]. SMF 2.1 is designed for PostgreSQL and MySQL, and has been shown to work well with [https://mariadb.com/kb/en/mariadb-vs-mysql-compatibility/ MariaDB 10.x] as well. If you run into MariaDB specific issues, please report them on [https://github.com/SimpleMachines/SMF/tree/release-2.1 Github]
** Other database servers that offer drop-in MySQL compatibility are also known to work, but are not supported.


* The following are requirements for the database:
* 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.
** There is at least 2 MB of storage space in the database for a clean SMF installation. Please note that this is only enough for the installation.
** The database user must have ''at least'' the following privileges: <code>SELECT</code>, <code>INSERT</code>, <code>UPDATE</code>, <code>DELETE</code>, <code>ALTER</code>, and <code>INDEX</code>.
** The database user must have ''at least'' the following privileges: <code>SELECT</code>, <code>INSERT</code>, <code>UPDATE</code>, <code>DELETE</code>, <code>ALTER</code>, and <code>INDEX</code>.
** The database user must have the <code>CREATE</code> and <code>DROP</code> privileges during installation, conversion and some package installs.
** The database user must have the <code>CREATE</code> and <code>DROP</code> privileges during installation, conversion and some package installs.


==Server Recommendations==
==Server Recommendations==
''These are not required, but may be beneficial to your SMF install and enable you to use more functions.''
''These are not required, but may benefit 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.
* '''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:
* PHP with the following set in your '''''php.ini''''' file:
** <code>max_input_time</code> set to a value of at least 30.
** <code>max_input_time</code> set to at least 30.
** <code>post_max_size</code> and <code>upload_max_filesize</code> set to the size of the largest attachments you wish to be able to upload.
** <code>post_max_size</code> and <code>upload_max_filesize</code> set to the size of the largest attachments you wish to be able to upload.
** <code>memory_limit</code> set to at least 32M.
** <code>memory_limit</code> set to at least 512M.
** <code>max_execution_time</code> set to at least 15.
** <code>max_execution_time</code> set to at least 15.
** <code>register_globals</code> set to Off.
** <code>register_globals</code> set to Off.
** <code>session.use_trans_sid</code> set to Off.
** <code>session.use_trans_sid</code> set to Off.
** safe mode disabled, or PHP suExec enabled.
** [http://www.php.net/manual/en/book.bc.php BCMath] library enabled for using the [[Registration#Settings|OpenID]] registration method.
** <code>mod_security</code> disabled (please see [[Mod security - Having problems with mod security|Mod security]] for more information).
** <code>mod_security</code> disabled (please see [[Mod security - Having problems with mod security|Mod security]] for more information).


Line 44: Line 45:


==Basic Client Requirements==
==Basic Client Requirements==
 
Any web browser that supports HTML5 and CSS3 and that is still supported by its vendor.
* 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).


{{Installing SMF}}
{{Installing SMF}}

Latest revision as of 15:26, 15 July 2024

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.

Minimum Server Requirements

The following are required on any server intending to run SMF 2.1.

  • A web server with approximately 20MB of available disk space. Much more is recommended so that other content can be uploaded over time.
  • A web server that supports PHP, such as Apache or Internet Information Server (IIS).
  • PHP 7.0 or higher
  • The following must be changed in the php.ini file:
    • The engine directive must be set to On.
    • The magic_quotes_sybase directive must be set to Off.
    • The session.save_path directive must be set to a valid directory or empty.
    • The file_uploads directive must be set to On.
    • The upload_tmp_dir directive must be set to a valid directory or empty.
    • The fileinfo extension must be enabled.
    • The mbstring extension must be enabled.
  • One of the following databases must be installed:
    • MySQL 5.6 or higher.
    • PostgreSQL 9.6 or higher (standard_conforming_strings must be set to on).
    • MariaDB. SMF 2.1 is designed for PostgreSQL and MySQL, and has been shown to work well with MariaDB 10.x as well. If you run into MariaDB specific issues, please report them on Github
    • Other database servers that offer drop-in MySQL compatibility are also known to work, but are not supported.
  • The following are requirements for the database:
    • There is at least 2 MB of storage space in the database for a clean SMF installation. Please note that this is only enough for the installation.
    • The database user must have at least the following privileges: SELECT, INSERT, UPDATE, DELETE, ALTER, and INDEX.
    • The database user must have the CREATE and DROP privileges during installation, conversion and some package installs.

Server Recommendations

These are not required, but may benefit your SMF install and enable you to use more functions.


  • 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_time set to at least 30.
    • post_max_size and upload_max_filesize set to the size of the largest attachments you wish to be able to upload.
    • memory_limit set to at least 512M.
    • max_execution_time set to at least 15.
    • register_globals set to Off.
    • session.use_trans_sid set to Off.
    • mod_security disabled (please see Mod security for more information).
  • GD Graphics Library 2.0 or higher.

Basic Client Requirements

Any web browser that supports HTML5 and CSS3 and that is still supported by its vendor.



Advertisement: