Update install.php

Fixed problems of compatibility between versions