The purpose of this blog is to Magento install on IIS
- First download Microsoft Web Platform Installer 4.6
- Install below application by web installer
- IIS
- URL Rewrite 2.0
- PHP 5.4.14 for IIS
- MySQL windows 5.1
- If you OS is 64 bit than replace below curl 64 bit in C:\Program Files (x86)\iis express\PHP\v5.4\ext
- Download Magento from here
- Copy Magento folder in C:\inetpub\wwwroot
- Browse Magento application by IIS. There is like on right site.
- Below image will come as install Magento. You have to choose location, Time Zone and Default Currency.
- If you will get error of rewrite error. Please set user permission
- Configuration step, enter details as below and take care while entering table prefix and create database in MySQL
- Follow Below steps while using “Create Admin Account”
- If you are not able to login with your user name and password on admin panel than please modify your code as per below step
- Go to Magento\app\code\core\Mage\Core\Model\Session\Abstract
- Open the file Varien.php
- Remove call_user_func_array(‘session_set_cookie_params’, $cookieParams); line
- Update below method
- Please add web.config file at magento root folder for URL rewrite and update Use Web Server Rewrites setting from System-> Configuration->Web
- If you are getting error of “Exception printing is disabled” than please follow below step
- Locate the root directory where your Magento is installed. Search for “errors” directory.
- Change the filename of local.xml.sample to local.xml
- Reload the page where it shows error message, you will see a full list of error message – The purpose of rename local.xml is to allow the full error message to be shown.
- Now, locate magento_directory/lib/Zend/Cache/Backend/File.php and look for:
- Now, go to Magento root directory and create a new directory with the name “tmp”.
- Refresh the error page and see if the issue solved.