. */ define('INSTALLDIR', dirname(__FILE__)); function main() { if (!checkPrereqs()) { return; } if ($_SERVER['REQUEST_METHOD'] == 'POST') { handlePost(); } else { showForm(); } } function checkPrereqs() { $pass = true; if (file_exists(INSTALLDIR.'/config.php')) { ?>

Config file "config.php" already exists.

Require PHP version 5.2.3 or greater.

Cannot load required extension:

Cannot find mysql or pgsql extension. You need one or the other:

Cannot write config file to:

On your server, try this command: chmod a+w

Cannot write directory:

On your server, try this command: chmod a+w

Page notice

Enter your database connection information below to initialize the database.

Connection settings
E_O_T; } function updateStatus($status, $error=false) { ?>
  • >
  • Page notice