Redis: Remove not use install logic.
PHP: Use the same order in the open_basedir list as in the Barracuda script.
PHP: Fix the extensions installation and upgrade logic.
Improve fix_locales logic.