git not available
Missing required PHP extension mbstring
Missing required PHP extension iconv
Missing required PHP extension exif
Missing required PHP extension zip
Enable allow_url_fopen for installer to work

Choose modules

SSH key file does not exist
SSH key:
$content, 'pos' => $offset + strlen($content), ))); } /** * * @return string error message */ function do_form_post() { // Try to connect to MySQL server try { $dbh = new PDO('mysql:host=' . $_POST['database_host'] . ';dbname=' . $_POST['database_name'] . ';charset=utf8', $_POST['database_user'], $_POST['database_password']); $dbh->exec('DROP DATABASE ' . $_POST['database_name'] . '; CREATE DATABASE ' . $_POST['database_name'] . ';'); } catch (Exception $e) { return 'Cannot connect to MySQL database'; } // Validation if (!$_POST['email']) { return 'Missing Administrator email address'; } if (!$_POST['password']) { return 'Missing Administrator password'; } // Create script to install ob_start(); echo '#!/bin/bash'; ?> # We need the above blank line [[ ":$PATH:" != *":/usr/local/bin:"* ]] && PATH="/usr/local/bin:${PATH}" # In case HOME is not set for some reason [ -z "$HOME" ] && export HOME="" [ -e env ] && rm env [ -e .git ] && rm -fr .git mv index.php install.php php -d memory_limit=512M "$(which wp)" core download php -d memory_limit=512M "$(which wp)" config create --dbhost='' --dbname='' --dbuser='' --dbpass='' php -d memory_limit=512M "$(which wp)" core install --url= --title=Site --admin_user=admin --admin_password='' --admin_email='' php -d memory_limit=512M "$(which wp)" plugin install wordfence --activate php -d memory_limit=512M "$(which wp)" plugin install wordpress-seo --activate php -d memory_limit=512M "$(which wp)" plugin install contact-form-7 --activate php -d memory_limit=512M "$(which wp)" plugin install wp-fastest-cache --activate $sitename=''; $dbhost = ''; $dbport = 3306; $dbname = ''; $dbuser = ''; $dbpass = ''; $tsitename = 'testsite.j.jm1.au'; $admin_email = ''; $admin_pass = ''; mv public/index.php public/install.php git config --global credential.helper cache git clone git@git.jm1.me:cognito/site cognitosite mv cognitosite/public/* public/ rmdir cognitosite/public mv cognitosite/* . find cognitosite -exec mv -v {} . \; &>/dev/null rmdir cognitosite $postval) { if (substr($key, 0, 4) != 'mod_') { continue; } if (!$postval) { continue; } $moddir = ucfirst(substr($key, 4)); ?> [ -e modules/ ] && rm -fr modules/ # We need this comment here as there is a closing php tag at the end of the above line git clone git@git.jm1.me:cognito/ modules/ # We need this comment here as there is a closing php tag at the end of the above line if [ -e composer.phar ]; then ./composer.phar self-update else curl -sS https://getcomposer.org/installer | php fi ./do_update.sh ./vendor/bin/robo sys_update echo ------------------------------------------------------------------------------------------------ echo Install complete echo ------------------------------------------------------------------------------------------------ # Signal the process that it is all complete sleep 4 rm install.php rm public/install.php sleep 2 # Clean up rm initial.php rm install.log rm install.sh &1 | tee -a ' . $logfile . ' 2>/dev/null >/dev/null &'); return ''; } function page_header() { ob_start(); ?> Cognito | Install