Use PHP 8 compatible fork of SquirrelMail

This commit is contained in:
Daniel Winzen
2021-04-27 08:07:52 +02:00
parent 6aea46afaa
commit cb9093585f
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ mysql phpmyadmin < /var/www/html/phpmyadmin/sql/create_tables.sql
For web based mail management grab the latest squirrelmail and install it in `/var/www/html/squirrelmail`:
```
cd /var/www/html/ && svn checkout https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail && cd squirrelmail && ./configure && mkdir -p /var/www/data/squirrelmail/data /var/www/data/squirrelmail/attach && chown www-data:www-data -R /var/www/data
cd /var/www/html/ && git clone https://github.com/RealityRipple/squirrelmail && cd squirrelmail && mkdir -p /var/www/data/squirrelmail/data /var/www/data/squirrelmail/attach && chown www-data:www-data -R /var/www/data && ./configure
```
Once it is downloaded, it will ask you for configuration. Things to change are:

View File

@ -85,7 +85,7 @@ server {
include snippets/fastcgi-php.conf;
fastcgi_param DOCUMENT_ROOT /html;
fastcgi_param SCRIPT_FILENAME /html$fastcgi_script_name;
fastcgi_pass unix:/var/run/php/7.4-squirrelmail;
fastcgi_pass unix:/var/run/php/8.0-squirrelmail;
}
}
location /phpmyadmin {