Linode Library Home
Linode Library RSS Feed
Home :: Web Applications :: CMS Guides
Print View View Source

Manage Web Content with PHP-Fusion

Published: by

Warning

This document is an older, unmaintained guide. There may be a new guide available for this software.

PHP Fusion is a lightweight content management system built on the popular LAMP stack. Designed for maximum flexibility and broad support it's for internationalization, in its latest version PHP Fusion focuses on standards compliance, security, and modular design. PHP Fusion is an obvious choice for developers who need to deploy a system to manage content and community interaction.

Before installing PHP Fusion, we assume that you have followed our getting started guide. If you're new to the world of Linux systems administration, you may also want to consider the guides in the using linux section, including the administration basics guide. Additionally, prior to installing PHP Fusion, you will need to install a fully functional LAMP stack on your Linode.

Contents

Install Prerequisites

After installing the LAMP stack, there are a few additional prerequisites that you will need in order to complete this installation of PHP Fusion. Ensure that your distribution provides wget and unzip tools. On Debian and Ubuntu based systems, issue the following command:

apt-get update
apt-get upgrade --show-upgraded
apt-get install wget unzip

On CentOS and Fedora powered systems, issue the following commands to run system updates and install required prerequisites:

yum update
yum install wget unzip

On Arch Linux systems, issue the following commands to update the package database and install required prerequisites:

pacman -Sy
pacman -S wget unzip

On Gentoo Linux systems, issue the following commands to update the package database and install required prerequisites:

emerge --sync
emerge wget unzip

Now we are ready to begin installing PHP Fusion. For the purposes of this document we will assume that the DocumentRoot for the virtual host where you will be installing PHP Fusion is located at /srv/www/ducklington.org/public_html/ for the domain ducklington.org.

Install PHP Fusion

At the time of publication, the latest stable version of PHP Fusion is 7.00.07. Remember to check the PHP Fusion upstream to determine and install the latest version of the software so that you will be able to take advantage of any bug and security fixes that the development team has released. Alter the commands in the following procedure to reflect the specifics of your deployment:

mkdir -p /srv/www/ducklington.org/src/php-fusion/
cd /srv/www/ducklington.org/src/php-fusion/
wget http://downloads.sourceforge.net/project/php-fusion/PHP%20Fusion%20Core%207/Core%207.00.xx%20Stable/php-fusion_7-00-07.zip
unzip php-fusion_7-00-07.zip
cp -R /srv/www/ducklington.org/src/php-fusion/7-00-7/files/* /srv/www/ducklington.org/public_html/

Now issue the following commands to prepare your system for the installation process:

cd /srv/www/ducklington.org/public_html/
mv _config.php config.php
chmod 777 administration/db_backups/ images/ images/imagelist.js images/articles/ images/avatars/ images/news/ images/news_cats/ images/photoalbum/ images/photoalbum/submissions/ forum/attachments/ config.php

Now visit the PHP Fusion setup page located at http://ducklington.org/setup.php and follow the steps outlined by the installer. Once the installation has completed successfully, issue the following commands, to secure your new installation and remove the installation script.

chmod 644 /srv/www/ducklington.org/public_html/config.php
rm /srv/www/ducklington.org/public_html/setup.php

Congratulations! You now have a fully functional PHP Fusion instance to power your website.

Monitor for Software Updates and Security Notices

When running software compiled or installed directly from sources provided by upstream developers, you are responsible for monitoring updates, bug fixes, and security issues. After becoming aware of releases and potential issues, update your software to resolve flaws and prevent possible system compromise. Monitoring releases and maintaining up to date versions of all software is crucial for the security and integrity of a system.

Please monitor the PHP Fusion security forum and news page to ensure that you are aware of all updates to the software and can upgrade appropriately or apply patches and recompile as needed:

When upstream sources offer new releases, repeat the instructions for installing the PHP Fusion software as needed. These practices are crucial for the ongoing security and functioning of your system.

More Information

You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.

Creative Commons License

This guide is licensed under a Creative Commons Attribution-NoDerivs 3.0 United States License.

Last edited by Sharon Campbell on Wednesday, October 2nd, 2013 (r3760).