PHP MAMP auto detect based on major version

This way we can upgrade MAMP and it still works :)