Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:install [2022-09-21 08:04] – [Requirements] FreeBSD PHP extension list Tobiasdocs:install [2024-04-05 17:34] (current) – [Requirements] updated required PHP versions (not sure if 8.3+ ist ok, too) Andreas Kilgus
Line 25: Line 25:
  
   * Apache with mod-rewrite enabled and "Options All" so you can use a local ''.htaccess'' file   * Apache with mod-rewrite enabled and "Options All" so you can use a local ''.htaccess'' file
-  * PHP versions 7.to 8.are supported+  * PHP versions 7.to 8.are supported
   * 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, GMP, PDO, mbstrings, MySQLi, hash, xml, zip and OpenSSL extensions       * Curl, GD, GMP, PDO, mbstrings, MySQLi, hash, xml, zip and OpenSSL extensions
Line 31: Line 31:
       * 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
       * For FreeBSD you need to enable the following extensions in your PHP configuration: curl gd pdo_mysql mbstring xml iconv zip openssl pecl-mcrypt posix dom json fileinfo pecl-imagick session filter ctype simplexml zlib       * For FreeBSD you need to enable the following extensions in your PHP configuration: curl gd pdo_mysql mbstring xml iconv zip openssl pecl-mcrypt posix dom json fileinfo pecl-imagick session filter ctype simplexml zlib
-  * MySQL 5.6+ or an equivalent alternative for MySQL (MariaDB, Percona Server etc.)+  * MySQL server that supports InnoDB and Barracuda (we recommend MariaDB as all development is done on Servers running itbut other MySQL servers might work as well)
   * 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/path component in the URL) is RECOMMENDED. Directory paths will not be as convenient to use and have not been thoroughly tested. This is REQUIRED if you wish to communicate with the Diaspora network.   * installation into a top-level domain or sub-domain (without a directory/path component in the URL) is RECOMMENDED. Directory paths will not be as convenient to use and have not been thoroughly tested. This is REQUIRED if you wish to communicate with the Diaspora network.
Line 263: Line 263:
 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. 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.
  
-If it is not possible to set up a cron job then please activate the "frontend worker" in the administration interface.+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 to provide the path of the PHP binary to use in local.config.php by setting php_path: 
 + 
 +<code> 
 +'config' => [ 
 +                'php_path' => '/usr/bin/php82', 
 +                …, 
 +        ], 
 +</code>
  
 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.
  • Last modified: 2022-09-21 08:04