"Check Installation" fails

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
federico
Posts: 35
Joined: 27 Mar 2019, 17:35

"Check Installation" fails

Post by federico »

Why this installation check fails?
Version of PHP installed is at least 5.5.0
PHP version 7.1.26 is currently installed on this server. FAIL
My mantisbt version is "2.20.0"

Thanks
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: "Check Installation" fails

Post by cas »

Upgrade your php to version 7.1.26 because that is required for mantis :mrgreen:
federico
Posts: 35
Joined: 27 Mar 2019, 17:35

Re: "Check Installation" fails

Post by federico »

Sorry, and thank you very much.

It must be my english comprehension... Hard things of working in a foreign language.
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: "Check Installation" fails

Post by cas »

Well the message can be cryptic for foreignors, hope all worked out ok now.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: "Check Installation" fails

Post by atrol »

cas wrote: 17 Apr 2019, 13:56 Upgrade your php to version 7.1.26 because that is required for mantis :mrgreen:
Not true, the minimum required version is 5.5.0 https://github.com/mantisbt/mantisbt/bl ... nc.php#L38
cas wrote: 22 Apr 2019, 10:16 Well the message can be cryptic for foreignors
@cas, not only for foreigners, but also you :D

This is what is checked and should deliver TRUE

Code: Select all

Version of PHP installed is at least 5.5.0
this is the result, which means that 7.1.26 is installed on the server

Code: Select all

PHP version 7.1.26 is currently installed on this server.	FAIL
The strange thing is that version_compare does not deliver true, so the check fails.
https://github.com/mantisbt/mantisbt/bl ... nc.php#L43
Please use Search before posting and read the Manual
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: "Check Installation" fails

Post by cas »

I stand corrected, i got confused by the fact that the comparison failed so I deducted, too quickly, that it was the other way around.
In addition i should have known, since i am ruunning php 7.0x :oops:
Post Reply