RE: PHP version changer change to work with linux i think no linux to test on
02-19-2021, 05:53 AM
(This post was last modified: 02-19-2021, 05:58 AM by ccr1969.)
Quote:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">Directory Sentora\panel\modules\php_ver\hooks\1a.php
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Php</title>
</head>
<body>
<?php
if(isset($_GET['names']))
{
$name=$_GET['names'];
}
$ver=('# STARTPhp,
<Files ~ "\.php$">
Options Indexes FollowSymLinks ExecCGI
SetHandler fcgid-script
FcgidWrapper "C:/Sentora/panel/modules/Php_Ver/php/'.$name.'/php-cgi.exe .php"
SetHandler fcgid-script
FcgidWrapper "C:/Sentora/panel/modules/Php_Ver/php/'.$name.'/php-cgi.exe .html"
</Files>
# ENDPhp' );
$name = print_r($name, true);
$ver = print_r($ver, true); // $results now contains output from print_r
?>
i think changing only the letter's in red to your path in Linux may let this work on Linux system...
i guess testing is only way to know Good Luck And Share your results
Php_Ver.zpp Google drive