View Issue Details

IDProjectCategoryView StatusLast Update
0024128mantisbtadministrationpublic2019-08-03 10:06
ReporterMarcoW Assigned Toatrol  
Status closedResolutionfixed 
Product Version2.12.0 
Target Version2.13.0Fixed in Version2.13.0 
Summary0024128: Unable to start system check or installation with wrong PHP version

When webserver has older version of php, neither the check or the installation routine begin to start. So for mantisbt 2.12.0 the minimum required PHP version is 5.5.x.
I have 5.3.17 on my webserver, which was good for mantisbt 2.2.0.

In readme the second point says you have to check system requirements with http://path/to/mantisbt/admin/check/index.php. In my environment it gaves me a blank page.
This is caused through an error:

PHP Parse error: syntax error, unexpected '[' in mantisbt-2.12.0/vendor/guzzlehttp/psr7/src/functions.php on line 78

So its not userfriendly when already the system check doesnt work. Otherwise the system requirements on PHP version are clearly described. So i dont know if this is a blocker or an failure caused by admin.

TagsNo tags attached.


related to 0023378 closedatrol Installation fails when using old but still allowed PHP version 5.3 
related to 0024501 closedatrol MantisBT on Windows - Check for php_fileinfo.dll enabled on php.ini 
related to 0025956 assigneddregad Increase minimum PHP requirement to 7.0 




2018-03-16 07:58

developer   ~0059229

Last edited: 2018-03-16 07:59

which was good for mantisbt 2.2.0.

The minimum requirement - as stated in the documentation - is 5.5.x for all 2.x versions. We only started effectively enforcing that with 2.7.0.

I agree that the user-friendliness could be improved, but at the same time I believe that as a system admin you should a) RTFM and b) be able to check a system log for errors when something unexpected happens...



2018-03-16 14:29

reporter   ~0059230

I agree to you and like i wrote i know what cause the error ;).

So i have done a), the readme which comes with mantis says check the system with check/index.php and this doesn't even work. So i've taken a look in the server log.
And as a programmer it pains me when software cause an error and you have to search for it instead of getting a clear message ;)
So i thought the check does what the name says and checks if the system in its configuration is compatible with mantis.



2018-03-17 16:16

developer   ~0059234


Related Changesets

MantisBT: master 1eb5ff1c

2018-03-17 16:10:27


Details Diff
Check early for minimum PHP version

Fixes 0024128
Affected Issues
mod - core.php Diff File

MantisBT: master 133cb5a0

2018-03-18 06:01:05


Details Diff
Check fileinfo extension only if needed

Issue 0024128
Affected Issues
mod - admin/check/check_attachments_inc.php Diff File
mod - admin/check/check_php_inc.php Diff File

MantisBT: master cdffd5a4

2018-03-23 10:41:05


Details Diff
Correct Admin Guide concerning fileinfo extension

Issue 0024128
Affected Issues
mod - docbook/Admin_Guide/en-US/Installation.xml Diff File