Skip to content
Snippets Groups Projects
Verified Commit 2fa957c5 authored by Damien's avatar Damien
Browse files

FEAT #13671 TIME 0:25 php version

parent cdf8fc72
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,8 @@ class InstallerController
{
public function getPrerequisites(Request $request, Response $response)
{
$phpVersion = (version_compare(PHP_VERSION, '7.2') >= 0);
$phpVersion = phpversion();
$phpVersionValid = (version_compare(PHP_VERSION, '7.2') >= 0);
exec('whereis unoconv', $output, $return);
$output = explode(':', $output[0]);
......@@ -54,6 +55,7 @@ class InstallerController
$prerequisites = [
'phpVersion' => $phpVersion,
'phpVersionValid' => $phpVersionValid,
'unoconv' => $unoconv,
'pdoPgsql' => $pdoPgsql,
'pgsql' => $pgsql,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment