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 7.1:
[isabell@stardust ~]$ uberspace tools version show php
Using 'PHP' version: '7.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 PHP-Fusion\ 9.03.00/files/* /var/www/virtual/$USER/html
[isabell@stardust ~]$ rm -rf "PHP-Fusion 9.03.00" 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.03.00 and Uberspace 7.2.8.2
Written by: DwB <dirk@babig.de>