]> git.mxchange.org Git - friendica.git/blobdiff - doc/Install.md
Merge pull request #3747 from annando/additional-checks
[friendica.git] / doc / Install.md
index 168468df0dd778639191c0e9450a0046db5ff116..cda58fa6f70bcc015298c8195cbb1503200ba31a 100644 (file)
@@ -28,9 +28,8 @@ Requirements
 * Apache with mod-rewrite enabled and "Options All" so you can use a local .htaccess file
 * PHP 5.4+.
 * PHP *command line* access with register_argc_argv set to true in the php.ini file
-* curl, gd, mysql, hash and openssl extensions
+* Curl, GD, PDO, MySQLi, hash, xml and OpenSSL extensions
 * some form of email server or email gateway such that PHP mail() works
-* mcrypt (optional; used for server-to-server message encryption)
 * Mysql 5.5.3+ or an equivalant alternative for MySQL (MariaDB, Percona Server etc.)
 * the ability to schedule jobs with cron (Linux/Mac) or Scheduled Tasks (Windows) (Note: other options are presented in Section 7 of this document.)
 * Installation into a top-level domain or sub-domain (without a directory/path component in the URL) is preferred. Directory paths will not be as convenient to use and have not been thoroughly tested.
@@ -69,12 +68,11 @@ Create an empty database and note the access details (hostname, username, passwo
 
 Friendica needs the permission to create and delete fields and tables in its own database.
 
-With newer releases of MySQL (5.7.17 or newer), you might need to set the sql_mode
-to '' (blank). Use this setting when the installer is unable to create all the needed
-tables due to a timestamp format problem. In this case find the [mysqld] section
-in your my.cnf file and add the line :
+With newer releases of MySQL (5.7.17 or newer), you might need to set the sql_mode to '' (blank).
+Use this setting when the installer is unable to create all the needed tables due to a timestamp format problem.
+In this case find the [mysqld] section in your my.cnf file and add the line :
 
-sql_mode = ''
+    sql_mode = ''
 
 Restart mysql and you should be fine.
 
@@ -84,6 +82,8 @@ Restart mysql and you should be fine.
 Point your web browser to the new site and follow the instructions.
 Please note any error messages and correct these before continuing.
 
+If you need to specify a port for the connection to the database, you can do so in the host name setting for the database.
+
 *If* the automated installation fails for any reason, check the following:
 
 * Does ".htconfig.php" exist? If not, edit htconfig.php and change the system settings. Rename to .htconfig.php
@@ -112,19 +112,7 @@ You can generally find the location of PHP by executing "which php".
 If you run into trouble with this section please contact your hosting provider for assistance.
 Friendica will not work correctly if you cannot perform this step.
 
-Alternative: You may be able to use the 'poormancron' plugin to perform this step.
-To do this, edit the file ".htconfig.php" and look for a line describing your plugins.
-On a fresh installation, it will look like this:
-
-    $a->config['system']['addon'] = 'js_upload';
-
-It indicates the "js_upload" addon module is enabled.
-You may add additional addons/plugins using this same line in the configuration file.
-Change it to read
-
-    $a->config['system']['addon'] = 'js_upload,poormancron';
-
-and save your changes.
+If it is not possible to set up a cron job then please activate the "frontend worker" in the administration interface.
 
 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
 
@@ -144,3 +132,11 @@ The addon tree has to be updated separately like so:
 
     cd mywebsite/addon
     git pull
+
+###Set up a backup plan
+Bad things will happen.
+Let there be a hardware failure, a corrupted database or whatever you can think of.
+So once the installation of your Friendica node is done, you should make yoursef a backup plan.
+
+The most important file is the `.htconfig.php` file in the base directory.
+As it stores all your data, you should also have a recent dump of your Friendica database at hand, should you have to recover your node.