@ -343,7 +347,7 @@ function check_php(&$phpath, &$checks) {
$passed=strlen($phpath);
}
$help="";
if(!$passed){
if(!$passed){
$help.=t('Could not find a command line version of PHP in the web server PATH.').EOL;
$help.=t("If you don't have a command line version of PHP installed on server, you will not be able to run background polling via cron. See <a href='https://github.com/friendica/friendica/blob/master/doc/Install.md#set-up-the-poller'>'Setup the poller'</a>").EOL;
$help.=EOL.EOL;
@ -370,7 +374,7 @@ function check_php(&$phpath, &$checks) {
}
if($passed2){
if($passed2){
$str=autoname(8);
$cmd="$phpath testargs.php $str";
$result=trim(shell_exec($cmd));
@ -392,15 +396,17 @@ function check_keys(&$checks) {
$res=false;
if(function_exists('openssl_pkey_new'))
$res=openssl_pkey_new(array(
'digest_alg'=>'sha1',
'private_key_bits'=>4096,
'encrypt_key'=>false));
if(function_exists('openssl_pkey_new')){
$res=openssl_pkey_new(array(
'digest_alg'=>'sha1',
'private_key_bits'=>4096,
'encrypt_key'=>false
));
}
// Get private key
if(!$res){
if(!$res){
$help.=t('Error: the "openssl_pkey_new" function on this system is not able to generate encryption keys').EOL;
$help.=t('If running under Windows, please see "http://www.php.net/manual/en/openssl.installation.php".');
}
@ -420,7 +426,7 @@ function check_funcs(&$checks) {
$o=t('The database configuration file ".htconfig.php" could not be written. Please use the enclosed text to create a configuration file in your web server root.');
$linktxt=sprintf(t('Visit %s for a list of public sites that you can join. Friendica members on other sites can all connect with each other, as well as with members of many other social networks.'),$dirloc.'/siteinfo');
$linktxt=sprintf(t('To accept this invitation, please visit and register at %s or any other public Friendica website.'),App::get_baseurl())
."\r\n"."\r\n".sprintf(t('Friendica sites all inter-connect to create a huge privacy-enhanced social web that is owned and controlled by its members. They can also connect with many traditional social networks. See %s for a list of alternate Friendica sites you can join.'),$dirloc.'/siteinfo');
}
}
else{
}else{
$o=t('Our apologies. This system is not currently configured to connect with other public sites or invite members.');