Check PHP version during installation.