After upgrading PHP to version 5.3 or 5.4, domain's PHP pages show the error:
PHP Fatal error: Directive 'safe_mode' is no longer available in PHP in Unknown on line 0
The following error appears during WordPress installation:
Error: Installation of WordPress at http://domain.tld/wordpress failed. Non-zero exit status returned by script.
safe_mode directive is deprecated in PHP 5.3 and removed in PHP 5.4 and higher. Please check PHP documentation for details.
Turn off/comment safe_mode option in all php.ini that used by original/additional PHP handlers.