Merge vichan PHP8 fixes, configure composer, fix outstanding incompatibilities

This commit is contained in:
discomrade 2021-06-29 23:10:12 -02:00
parent c9ef4e80ac
commit 2605a6ff5d
252 changed files with 279 additions and 28498 deletions

View file

@ -10,11 +10,13 @@ We highly recommend you read the [vichan GitHub wiki](http://github.com/vichan-d
Requirements
------------
1. PHP >= 5.4. PHP 7.0 is explicitly supported. There is a PHP 8 capable branch.
1. PHP >= 5.4 (we do not actively check if this is still supported)
PHP 8.0 is explicitly supported. PHP 7.x should be compatable.
2. MySQL/MariaDB server >= 5.5.3
3. [mbstring](http://www.php.net/manual/en/mbstring.installation.php)
4. [PHP GD](http://www.php.net/manual/en/intro.image.php)
5. [PHP PDO](http://www.php.net/manual/en/intro.pdo.php)
3. [Composer](https://getcomposer.org/) (To install various packages)
4. [mbstring](http://www.php.net/manual/en/mbstring.installation.php)
5. [PHP GD](http://www.php.net/manual/en/intro.image.php)
6. [PHP PDO](http://www.php.net/manual/en/intro.pdo.php)
This should be compatible with all major web servers and
operating systems. This code does not include an Apache ```.htaccess``` file nor does
@ -23,6 +25,7 @@ it need one.
### Recommended
1. ImageMagick (command-line ImageMagick or GraphicsMagick preferred).
2. [APC (Alternative PHP Cache)](http://php.net/manual/en/book.apc.php),
Redis,
[XCache](http://xcache.lighttpd.net/) or
[Memcached](http://www.php.net/manual/en/intro.memcached.php)
@ -42,9 +45,10 @@ Installation
git clone git://git.leftypol.org/leftypol/leftypol.git
2. Navigate to ```install.php``` in your web browser and follow the
2. run ```composer install``` inside the directory
3. Navigate to ```install.php``` in your web browser and follow the
prompts.
3. leftypol should now be installed. Log in to ```mod.php``` with the
4. leftypol should now be installed. Log in to ```mod.php``` with the
default username and password combination: **admin / password**.
Please remember to change the administrator account password.