Page MenuHomePhorge

Remove PHP Safe Mode related code
Closed, WontfixPublic

Description

PHP "Safe Mode" feature has been deprecated as of PHP 5.3.0 and removed as of PHP 5.4.0.
( https://www.php.net/manual/en/features.safe-mode.php is a 404 nowadays; so see e.g. https://www.mediawiki.org/wiki/PHP_5_safe_mode )

https://we.phorge.it/book/phorge/article/installation_guide/ states PHP: You need PHP 5.5 or newer.

Revisions and Commits

Event Timeline

Thanks

I think you have found this issues since ini_get('safe_mode') is null and that was checked inside a strlen(). Isn't it?

aklapper claimed this task.

No, I found this issue by reading the code. However, declining based on comments in D25174 as Phorge does not seem to check for PHP >= 5.5.