site use wrong php version causing server error 500

Have setup a new virual server using Virtualmin on a fresh Centos 7 VPS. The server is set to use php 7.0.27 as default but when I upload the website( working eshop on another server and check php.ini it say version 5.4 and I know thatv the shop will not work with that version

How can I fix this? I have no use of the old version php.