Skip to content

Churchdeploy for Dummies

Roy Verrips edited this page Oct 7, 2013 · 1 revision

A Step-by-step documentation to get your Church Website running Churchdeploy-2.0

Installation

PHP and MySQL before everything else

Before proceeding with the installation of churchdeploy-2.0, we need to ensure you have PHP and MySQL effectively setup on your webserver. Create the file verify.php where you plan to install churchdeploy (Assuming http://yourserver for this example).

<?php
/* Quick test to verify MySQL and PHP Versions */

$hostname = "localhost";
$database = "";
$username = "";
$password = "";

$mysqli = new mysqli($localhost, $username, $password, $database);

/* check connection */
if (mysqli_connect_errno()) { printf("Connect failed: %s\n", mysqli_connect_error()); exit(); }
 
/* print server version */
printf("MySQL Server version: %s\n", $mysqli->server_info);
printf("<br>");

/* close connection */
$mysqli->close(); 
    
/* prints PHP version */
printf("PHP version: %s\n", phpversion());
?>

Update the variables with your MySQL details and access http://yourserver/verify.php - If all goes well you should see an output showing your PHP and MySQL versions.

At the time of writing the minimum version of PHP required by churchdeploy is 5.3.3

Notes for Jonathan: The idea here is not to actually verify the version or MySQL, but to help the reader ensure their environment is running without needing to download, setup etc. churchdeploy/symphony2 at all - If they can't get this basic step done, no point in going further. (What do you think?)

Clone this wiki locally