When ever you think to install a new Magento eCommerce cms in you’re localhost. please check you’re system meet below requirement .
PHP:- 5.0 Above version support
enable this things on you’re php ini file before install :
PDO_MySQL mcrypt hash GD DOM icony curl Safe_mode off Memory_limit preferably 512MB
MySQL:- CE (all versions): MySQL 4.1.20 or newer
OS:- Linux x86, x86-64
Web Server(Apache):- Apache 2.0.x or Above
Browsers Support:- Google Chrome 7 version and above
Mozilla Firefox 3.5 version and above
Apple Safari 5 version and above
Mac only
IE-7 or above version
Hosting:-
php5 or above
override options for .htaccess file
For more details visit:-