PHP: Make sure that the FPM port is set correctly for D6 sites when _PHP_FPM_VERSION is set to 5.2
PHP: Fix paths depending on CLI version used.