X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=INSTALL.txt;h=4a88ac841748f75b180ea19831b2062b0c5b3184;hb=db04a78d844f5fc528bf7ffb2c2c04767ab64b5f;hp=a96c9fd5a25524fa85fa4ef0f352f6bc610198c8;hpb=36265d984e9d2eaafe34f1bdada5ef860c483f56;p=friendica.git diff --git a/INSTALL.txt b/INSTALL.txt index a96c9fd5a2..4a88ac8417 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -37,7 +37,7 @@ local .htaccess file - PHP *command line* access with register_argc_argv set to true in the php.ini file [or see 'poormancron' in section 8] - - curl, gd (with at least jpeg support), mysql, mbstring, mcrypt, and openssl extensions + - curl, gd (with at least jpeg support), mysql, mbstring, xml and openssl extensions - some form of email server or email gateway such that PHP mail() works @@ -71,9 +71,14 @@ write or create files in your web directory, create an empty file called .htconfig.php and make it writable by the web server. 5. Visit your website with a web browser and follow the instructions. Please -note any error messages and correct these before continuing. If you are using -SSL with a known signature authority (recommended), use the https: link to your -website. If you are using a self-signed cert or no cert, use the http: link. +note any error messages and correct these before continuing. + +If you are using SSL with a known signature authority (recommended), use the +https: link to your website. If you are using a self-signed cert or no cert, +use the http: link. + +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. 6. *If* the automated installation fails for any reason, check the following: @@ -135,7 +140,17 @@ $a->config['system']['addon'] = 'js_upload,poormancron'; and save your changes. -9. (Optional) Reverse-proxying and HTTPS +9. (Recommended) 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. + +10. (Optional) Reverse-proxying and HTTPS Friendica looks for some well-known HTTP headers indicating a reverse-proxy terminating an HTTPS connection. While the standard from RFC 7239 specifies @@ -293,16 +308,16 @@ find that out. I hope this saves some time for other people using suhosin with function blacklists. ######################################################################## -Unable to create alle mysql tables on MySQL 5.7.17 or newer +Unable to create all mysql tables on MySQL 5.7.17 or newer ####################################################################### If the setup fails to create all the database tables and/or manual -creation from the command line failes, with this error : +creation from the command line fails, with this error: ERROR 1067 (42000) at line XX: Invalid default value for 'created' You need to adjust your my.cnf and add the following setting under -the [mysqld] setion : +the [mysqld] section : sql_mode = '';