Upgrading sugar 6.5.18 to 7.5.0.1. I'm getting error in pre check.

Hi,

I'm upgrading sugar 6.5.18 to 7.5.0.1 through silent upgradation, but I'm getting an error like pre check failed.

And in log file it was showing like this:

 'PHP: [2] file_get_contents(localhost/itest.test): failed to open stream: No such file or directory in /var/www/bhea/cache/upgrades/temp/SugarPro-Upgrade-6.5.18-to-7.5.0.0/upgrade/scripts/pre/CheckAllowOverride.php at 56   ERROR: Could not verify .htaccess is working:'

How to resolve this error.