]> git.mxchange.org Git - friendica.git/commitdiff
Fix Apache instructions and PHP extension list
authorBen Millwood <thebenmachine+git@gmail.com>
Mon, 14 Oct 2024 22:32:54 +0000 (23:32 +0100)
committerBen Millwood <thebenmachine+git@gmail.com>
Mon, 14 Oct 2024 22:36:37 +0000 (23:36 +0100)
For the Apache instruction, the Options directive does exist, but it's
not the one that controls .htaccess usage, that's AllowOverride.

For the PHP module, correct mbstrings to mbstring and remove hash, since
the [hash extension][1] has been included in PHP since 5.1.2, and is core
since PHP 7.4, both of which are above the minimum Friendica version.

[1]: https://www.php.net/manual/en/hash.installation.php

doc/Install.md

index d7cce941a4d291b285def279515379a55a932840..25dca436afe2676f0f2fb0db3c4d6feea228e334 100644 (file)
@@ -27,10 +27,10 @@ Due to the large variety of operating systems and PHP platforms in existence we
 
 ### Requirements
 
-* Apache with mod-rewrite enabled and "Options All" so you can use a local `.htaccess` file
+* Apache with mod_rewrite enabled and "[AllowOverride All](https://httpd.apache.org/docs/2.4/mod/core.html#allowoverride)" so you can use a local `.htaccess` file
 * PHP 7.4+
   * 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, IntlChar, IDN and OpenSSL extensions
+  * Curl, GD, GMP, PDO, mbstring, MySQLi, xml, zip, IntlChar, IDN and OpenSSL extensions
   * The POSIX module of PHP needs to be activated (e.g. [RHEL, CentOS](http://www.bigsoft.co.uk/blog/index.php/2014/12/08/posix-php-commands-not-working-under-centos-7) have disabled it)
   * Some form of email server or email gateway such that PHP mail() works.
     If you cannot set up your own email server, you can use the [phpmailer](https://github.com/friendica/friendica-addons/tree/develop/phpmailer) addon and use a remote SMTP server.