Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:install [2021-05-06 16:24] – [Prerequisites] Tobias | docs:install [2024-10-15 10:57] (current) – [Requirements] mbstrings -> mbstring Ben Millwood | ||
---|---|---|---|
Line 20: | Line 20: | ||
* Choose a domain name or subdomain name for your server. Put some thought into this. While changing it after installation is supported, things still might break. | * Choose a domain name or subdomain name for your server. Put some thought into this. While changing it after installation is supported, things still might break. | ||
* A working mail setup (local or with [[https:// | * A working mail setup (local or with [[https:// | ||
- | * Setup HTTPS on your domain((**You really should do this**, you can get a TLS certificate for free using LetsEncrypt and [[docs: | + | * Setup [[docs: |
==== Requirements ==== | ==== Requirements ==== | ||
- | * Apache with mod-rewrite enabled and "Options | + | * Apache with mod-rewrite enabled and "[[https:// |
- | * PHP 7+ (PHP 7.1+ is recommended for performance and official support) | + | * PHP versions |
- | * PHP **command line** access with register_argc_argv set to true in the php.ini file | + | * PHP **command line** access with register_argc_argv set to true in the php.ini file |
- | * Curl, GD, PDO, mbstrings, MySQLi, hash, xml, zip and OpenSSL extensions | + | * Curl, GD, GMP, PDO, mbstring, MySQLi, xml, zip and OpenSSL extensions |
* The POSIX module of PHP needs to be activated (e.g. [[http:// | * The POSIX module of PHP needs to be activated (e.g. [[http:// | ||
* some form of email server or email gateway such that PHP mail() works | * some form of email server or email gateway such that PHP mail() works | ||
- | | + | |
+ | * A MySQL server that supports InnoDB and Barracuda | ||
* ability to schedule jobs with cron (Linux/Mac) or Scheduled Tasks (Windows) | * ability to schedule jobs with cron (Linux/Mac) or Scheduled Tasks (Windows) | ||
* installation into a top-level domain or sub-domain (without a directory/ | * installation into a top-level domain or sub-domain (without a directory/ | ||
Line 195: | Line 196: | ||
bin/console autoinstall [--savedb] | bin/console autoinstall [--savedb] | ||
</ | </ | ||
- | ===== B.3: Execution options | + | === B.3: Execution options === |
All options will be saved in the `config/ | All options will be saved in the `config/ | ||
Line 262: | Line 263: | ||
You can generally find the location of PHP by executing '' | You can generally find the location of PHP by executing '' | ||
- | If it is not possible | + | Some hosting providers use different versions of PHP for web server, command line and processes started by the system itself. In this case it might be necessary |
+ | |||
+ | < | ||
+ | ' | ||
+ | ' | ||
+ | …, | ||
+ | ], | ||
+ | </ | ||
Once you have installed Friendica and created an admin account as part of the process, you can access the admin panel of your installation and do most of the server wide configuration from there. | Once you have installed Friendica and created an admin account as part of the process, you can access the admin panel of your installation and do most of the server wide configuration from there. | ||
Line 293: | Line 301: | ||
The most important file is the '' | The most important file is the '' | ||
+ | |||
+ | ==== (RECOMMENDED) Server Optimization ==== | ||
+ | |||
+ | After you have set-up the Friendica server successfully, | ||
==== (OPTIONAL) Reverse-proxying and HTTPS ==== | ==== (OPTIONAL) Reverse-proxying and HTTPS ==== |