Using Phorum
<-- Back to Documentation

Phorum is a popular web-based forum application in PHP.

Security warning!
Like hundreds of other free software packages on our servers, Phorum is available and officially supported, but this should not be taken as an endorsement. Many third-party PHP scripts lack in proper maintainership and have poor track records with respect to security. We work diligently to keep all preinstalled software packages up-to-date and we can only guarantee that security fixes will be applied as soon as they are released.
Installing the software

A maintained, preinstalled version of Phorum is available our servers. In order to use it, you need to run the install.sh script in /var/www/phorum, from the ~/www/ directory of your choice:

  $ cd ~/www/mydomain.ext
  $ sh /var/www/phorum/install.sh myphorum
Database setup

Phorum uses MySQL as its database backend so before proceeding further, you need to create a database and a MySQL user. You can do this from the Databases section of the web interface, or alternatively from the shell interface:

  csoftadm> db mysql add myphorumdb
  csoftadm> db mysql useradd myphorumuser
  csoftadm> db mysql grant myphorumdb myphorumuser all

If you wish to reuse the contents of a previous Phorum installation, assuming mydump.txt was previously generated by mysqldump, you would use:

  $ cat mydump.txt | mysql -u myphorumuser -p myphorumdb
Editing config.php

Open the file include/db/config.php in the Phorum installation directory in a text editor, and edit the name, user and password settings accordingly:

    'type' => 'mysql',
    'name' => 'myphorumdb',
    'server' => 'localhost',
    'user' => 'myphorumuser',
    'password' => 'password',
    'table_prefix' => 'phorum',
    'port' => '3306',
Using the web installer

Point your browser to the URL (http://mydomain.ext/myphorum/admin.php) and click "Continue". Enter the requested information under "Creating an Administrator".

The installation is now complete. You can now log in to the administrator account.

Links

This web site - © 2013 Csoft.net Hosting, Inc.
(Contact Us) (Privacy Policy)
  LPF Valid HTML 4.01 Transitional