View Issue Details

IDProjectCategoryView StatusLast Update
0037227mantisbtcode cleanuppublic2026-06-30 17:56
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version2.7.0 
Target Version2.29.0Fixed in Version2.29.0 
Summary0037227: Remove code specific to PHP safe_mode
Description

Safe mode has been removed from PHP in 5.4.
We require PHP 5.5 since 2.7.0 (0023378).

Identified occurrences:

  • check in install.php
  • 3 calls to set_time_limit() with @ operator (see 0004555, 0008830)
    • helper_begin_long_process()
    • admin/upgrade_unattended.php
TagsNo tags attached.

Relationships

related to 0023378 closedatrol Installation fails when using old but still allowed PHP version 5.3 
related to 0004555 closedvboctor Warnings on set_time_limit() in safe mode 
related to 0008830 closeddaryn set_time_limit() doesn't work in PHP safe mode 

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master 915de954

2026-06-01 18:28

dregad


Details Diff
Remove safe_mode check from installer

Safe mode has been removed from PHP in 5.4.

Fixes 0037227
Affected Issues
0037227
mod - admin/install.php Diff File

MantisBT: master b574dac4

2026-06-01 18:29

dregad


Details Diff
Remove `@` operator for set_time_limit()

It was added to fix issues with PHP safe_mode, which has been removed
from PHP in 5.4.

Occurrences:
- helper_begin_long_process(), see issue 0004555
- admin/upgrade_unattended.php script, see issue 0008830

Fixes 0037227
Affected Issues
0004555, 0008830, 0037227
mod - admin/install.php Diff File
mod - admin/upgrade_unattended.php Diff File
mod - core/helper_api.php Diff File