Stop assuming PHP is always at version 5

Use the same solution derived at Nginx: PHP FPM fails to detect socket mode on PHP 7 once it's completed.

To find what needs to be changed, run this command at root of the project tree:

  • grep -rn php5 .