Craft install failed with error php7 not found, but server has php 7 installed
It sounds like your server environments are different. It is possible to run different version of PHP on different parts of a server, so it really depends on your setup, but that is surely what is going on here. Without more details about your server I don't think it will be possible to give a more detailed answer. Good luck!