I can't install ossn on my vps .I t shows a php message instead of the installation page

abdul rehman Posted in General Discussion 4 years ago

I have followed all the guides but when I try to install it on the website . The page goes blank with some php.

<?php
/**
* Open Source Social Network
*
* @package Open Source Social Network
* @author OSSN Core Team <[email protected]>
* @copyright (C) SOFTLAB24 LIMITED
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
* @link https://www.opensource-socialnetwork.org/
*/
define('OSSN_ALLOW_SYSTEM_START', TRUE);
require_once('system/start.php');
//page handler
$handler = input('h');
//page name
$page = input('p');

//check if there is no handler then load index page handler
if (empty($handler)) {
$handler = 'index';
}
echo ossnloadpage($handler, $page);

Replies
German Michael Zülsdorff Replied 4 years ago

I recommend to use https://github.com/themattbook/ossninstaller instead.

The how-to you mentioned is from 2016 and fairly outdated (installing explicitely PHP 7.0 today is not a good idea)

Please understand that this community is dedicated to Ossn, and that it is beyond of our scope to provide help with basic server setup and administration .

German Michael Zülsdorff Replied 4 years ago

Well, it looks like your webserver's PHP mdoule is missing.
You said you followed 'all the guides' ... which guides exactly did read when setting up your VPS?