Difference between revisions of "User:Rjhodson/phpBB Installation"

From WolfTech
Jump to navigation Jump to search
Line 1: Line 1:
==Installing phpBB onto Engineering Servers==
+
==PhpBB onto Engineering Servers==
 
To add forum functionality to your site, you may wish to use pre-existing forum software.  One such example is [http://www.phpbb.com/ phpBB].  PhpBB is a free, open-source, php-based internet forum software suite.  Using phpBB on an Engineering server, however, requires a custom installation process.
 
To add forum functionality to your site, you may wish to use pre-existing forum software.  One such example is [http://www.phpbb.com/ phpBB].  PhpBB is a free, open-source, php-based internet forum software suite.  Using phpBB on an Engineering server, however, requires a custom installation process.
  
Line 16: Line 16:
 
* the ''extension.inc'' file
 
* the ''extension.inc'' file
 
* the ''config.php'' file
 
* the ''config.php'' file
 +
 +
All instances of the PHP variable ''phpbb_root_path'' should be set to a blank state.
 +
<pre>
 +
$phpbb_root_path = '';
 +
</pre>
 +
 +
Additionally, in the ''/install/install.php'' file, FTP should be disabled.
 +
<pre>
 +
// Begin main prog
 +
define('IN_PHPBB', true);
 +
// Uncomment the following line to completely disable the ftp option...
 +
// define('NO_FTP', true);
 +
$phpbb_root_path = './../';
 +
include($phpbb_root_path.'extension.inc');
 +
</pre>
 +
should be changed to
 +
<pre>
 +
// Begin main prog
 +
define('IN_PHPBB', true);
 +
// Uncomment the following line to completely disable the ftp option...
 +
define('NO_FTP', true);
 +
$phpbb_root_path = '';
 +
include($phpbb_root_path.'extension.inc');
 +
</pre>

Revision as of 12:14, 12 October 2007

PhpBB onto Engineering Servers

To add forum functionality to your site, you may wish to use pre-existing forum software. One such example is phpBB. PhpBB is a free, open-source, php-based internet forum software suite. Using phpBB on an Engineering server, however, requires a custom installation process.

Downloading phpBB

The first step to intalling phpBB on an engineering server is to download the most current stable release of phpBB2. Unzip this file to where you wish host the forum.

Compensating for basedir Restrictions

To compensate for basedir restrictions, you will have to copy the necessary included files to the subdirectories within the phpBB directory that calls them.

Both the install and admin directories need copies of the following:

  • the db directory
  • the includes directory
  • the language directory
  • the templates directory
  • the common.php file
  • the extension.inc file
  • the config.php file

All instances of the PHP variable phpbb_root_path should be set to a blank state.

$phpbb_root_path = '';

Additionally, in the /install/install.php file, FTP should be disabled.

// Begin main prog
define('IN_PHPBB', true);
// Uncomment the following line to completely disable the ftp option...
// define('NO_FTP', true);
$phpbb_root_path = './../';
include($phpbb_root_path.'extension.inc');

should be changed to

// Begin main prog
define('IN_PHPBB', true);
// Uncomment the following line to completely disable the ftp option...
define('NO_FTP', true);
$phpbb_root_path = '';
include($phpbb_root_path.'extension.inc');