See my answer, which finally landed in the wrong place: https://moodle.org/mod/forum/discuss.php?d=340089 (first screen-shot).
Installing and upgrading help
What ports does moodle/php use
This discussion has been locked so you can no longer reply to it.