I’d go further than this and suggest a script that took out the guesswork, checked for PHP versions and created the right links.
Am I right in thinking that this is also better a better method if you are using a stack that is not Apache? i.e. works for all stacks?
Could also have a small script for the MQTT libraries as well.
I’d suggest, it may well be easier to maintain a script, than keeping the install guides correct. This may well get more of a chore as the Stretch v Jessie questions arise as folk start to migrate.
All I’d ask is that the script’s commands run at the same level the script is run at. I tend to use DietPi which has a root login as default so scripts with a liberal sprinkling of ‘sudo’ are a pest!