PHP-Fusion
PHP-Fusion is a CMS written in PHP and distributed under the GNU AGPL v3 licence.
Prerequisites
We’re using PHP in the stable version 8.1:
[isabell@stardust ~]$ uberspace tools version show php
Using 'PHP' version: '8.1'
[isabell@stardust ~]$
MySQL
You’ll need your MySQL credentials. Get them with my_print_defaults
:
[isabell@stardust ~]$ my_print_defaults client
--default-character-set=utf8mb4
--user=isabell
--password=MySuperSecretPassword
[isabell@stardust ~]$
We advise you set up an additional database for PHP Fusion:
[isabell@stardust ~]$ mysql -e "CREATE DATABASE ${USER}_phpfusion"
[isabell@stardust ~]$
Domain
Your URL needs to be setup:
[isabell@stardust ~]$ uberspace web domain list
isabell.uber.space
[isabell@stardust ~]$
Installation
First get the PHP-Fusion source code from Sourceforge:
[isabell@stardust ~]$ wget -O phpf9.zip https://sourceforge.net/projects/php-fusion/files/latest/download
[isabell@stardust ~]$ unzip phpf9.zip
[isabell@stardust ~]$ mv files/* /var/www/virtual/$USER/html
[isabell@stardust ~]$ rm -rf files/
[isabell@stardust ~]$ rm phpf9.zip
Finishing installation
Point your browser to your domain, for example https://isabell.uber.space and follow the installation instructions.
After finishing the installation and logging into PHP-Fusion you will see a red warning box.
To remove the file install.php enter
[isabell@stardust ~]$ rm /var/www/virtual/$USER/html/install.php
[isabell@stardust ~]$
Tested with PHP-Fusion v9.10.30, PHP 8.1 and Uberspace 7.13.0
Written by: DwB <dirk@babig.de>