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.