View Issue Details

IDProjectCategoryView StatusLast Update
0023930mantisbtinstallationpublic2018-02-06 21:17
Reporteratrol Assigned Toatrol  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.7.0 
Target Version2.11.0Fixed in Version2.11.0 
Summary0023930: Make Fileinfo a mandatory PHP extension
Description

The Fileinfo extension is necessary since version 2.7.0 0023381 and meanwhile there is some other code that relies on it.

It's still documented as optional and running admin/check/index.php gives just a warning if the extension is not enabled.

TagsNo tags attached.

Relationships

related to 0023381 closedatrol Unneeded code for unsupported PHP versions 
related to 0023877 closeddregad Mantis graphs not displaying 
related to 0023791 closedatrol Cannot download or view attachments (bis) 
related to 0023707 closedatrol Version 2.9.0 broke the Image view/download of attachments 
related to 0023737 closedatrol Cannot download or view attachments 

Activities

vboctor

vboctor

2018-02-04 16:52

manager   ~0058738

PR: https://github.com/mantisbt/mantisbt/pull/1281

atrol

atrol

2018-02-04 17:00

developer   ~0058739

@vboctor, I assigned myself as I was working on a solution

So one more PR that comes with another approach for it.
PR https://github.com/mantisbt/mantisbt/pull/1282

vboctor

vboctor

2018-02-04 17:09

manager   ~0058740

@atrol approved your PR and re-assigned to you. My fix was few characters long, so I was thinking it would be useful to get in for 2.11.0.

Related Changesets

MantisBT: master 098fa8fe

2018-02-04 06:46:25

atrol

Details Diff
Update admin checks to make finfo extension mandatory

Fixes 0023930
Affected Issues
0023930
mod - admin/check/check_attachments_inc.php Diff File
mod - admin/check/check_php_inc.php Diff File
mod - core/file_api.php Diff File
mod - docbook/Admin_Guide/en-US/Installation.xml Diff File