Skip to content

Demo Web Install Issue

If you are having trouble with web install, you can always manually create the conf.php this way with the following content

<?php
define('PHPGRID_DB_HOSTNAME','localhost'); // database host name
define('PHPGRID_DB_USERNAME', 'username');   // database user name
define('PHPGRID_DB_PASSWORD', 'password'); // database password
define('PHPGRID_DB_NAME', 'sampledb'); // database name
define('PHPGRID_DB_TYPE', 'mysql'); // database type
define('PHPGRID_DB_CHARSET','utf8mb4'); // ex: utf8(for mysql),AL32UTF8 (for oracle), leave blank to use the default charset


// *** You should define SERVER_ROOT manually when use Apache alias directive or IIS virtual directory ***
define('SERVER_ROOT', str_replace(str_replace('\\', '/', realpath($_SERVER['DOCUMENT_ROOT'])),'', str_replace('\\', '/',dirname(__FILE__))));
define('THEME', 'start');
define('FRAMEWORK', ''); // indicating framework integrating - not used yet
define('DEBUG', false); // *** MUST SET TO FALSE WHEN DEPLOYED IN PRODUCTION ***
define('CDN', false);       // use Cloud CDN by default. False to use the local libraries
define('UPLOADEXT', 'gif,png,jpg,jpeg,pdf');
define('UPLOADDIR', '/www/root/phpGridx/uploads/');


/******** DO NOT MODIFY ***********/
require_once('phpGrid.php');
/**********************************/    

Just replace username and password.

Feedback and Knowledge Base