twitterfacebookgoogle plusrss feed

Pages

Wednesday, May 4, 2011

Run WampServer and IIS on the same OS

Now your can run both IIS and WampServer (PHP, Apache, MySQL) on the same Windows OS, IIS Typically uses 80 port and WampServer (Apache) too, so by changing Apache listening port you will be able to run both services on single OS. Follow the lines


Open the file C:\wamp\Apache2\conf\httpd.conf and seach for Listen 80 and replace 80 with whatever you want like 8080.


Still one short to go; add :8080 at the end of http://locahost/ like http://localhost:8080/ ...


Remember this action will not change the shortcuts of "Localhost" and "phpMyAdmin" in context menu of WampServer in System Tray, by clicking on both links it will open regular http://localhost/ and http://localhost/phpmyadmin and the result will be quite different both links will not work; to make it workable follow the lines; 


Open the file C:\wamp\wampmanager.ini search for [Menu.Left] and under this section edit these lines (add 8080 where font is bold)



Type: item; Caption: "Localhost"; Action: run; FileName: "C:\Documents and Settings\Administrator\Local Settings\Application Data\Google\Chrome\Application\chrome.exe"; Parameters: "http://localhost:8080/"; Glyph: 5


Type: item; Caption: "phpMyAdmin"; Action: run; FileName: "C:\Documents and Settings\Administrator\Local Settings\Application Data\Google\Chrome\Application\chrome.exe"; Parameters: "http://localhost:8080/phpmyadmin/"; Glyph: 5


Type: item; Caption: "SQLiteManager"; Action: run; FileName: "C:\Documents and Settings\Administrator\Local Settings\Application Data\Google\Chrome\Application\chrome.exe"; Parameters: "http://localhost:8080/sqlitemanager/"; Glyph: 5


Restart Wamp ... Done :) 


Now you will able to use both IIS and Wamp on the same enviroment



0 comments:

Post a Comment

comment or ask