Tuesday, 26 August 2014

Installing WAMP on Windows server 2003

I have downloaded WAMP, and am preparing to install in on my new VS. Plenty of detail to follow.

Installing WampServer 2
c:/wamp
creating Quick Launch and desktop icons
specified localhost as SMTP mail server (will probably update this later)
specified my work email as the admin. email

now have a c:\wamp folder that is 221 MB

1st problem - did not take long! WAMP SERVER is not loading after the install.

I check in the servers application error

Start|Programs|Admin Tools|Computer Management

and saw an error:

Faulting application wampmanager.exe, version 1.6.1.33...

Did a little googling and found this forum - that said you need to install this other MS program called Visual C++ 2008. I went to the download page, downloaded and installed. No reboot necessary. Launched the WAMP server again, and it is up and running.

There is an icon in my system tray for WAMP 2.2.

Second Problem #2, when I browsed my localhost, the page did not load. I am using IE, since that come with the server. IE would say "page not found". I eventually realized that Apache was not yet active. I found this by using the Wamp icon hovering 0ver Apache folder and then Service and seeing that the service was not running. I used option in the Wamp Apache menu option Test Port 80, a DOS like window opened and said port 80 not being used and would set Apache up to use it.

After setting up port 80, my Wamp icon in the system tray turned from red to green, nice visual. that was encouraging.

I loaded my localhost (actually had to use the localhost IP, http://127.0.0.1/) page in IE again and this time got the Wamp server summary page, yea.



I had been messing with the content setting in the browser prior to realizing Apache was not working. In IE 8. under Tools|Options|Connections|Lan settings - I had enabled the Proxy server settings. I disabled them and now both the ip and localhostload the summary page above.

Clicking the phpinfo() function on the summary page shows useful php information.

The next thing I wanted to do was create a php script and run it in the browser.

I downloaded notepad ++, as a nice light editor for use on the server. Then created a new php file with some basic scripting inside, saved it to the www root folder and loaded the file. Everything seems in order, the php executed as expected.

No comments:

Post a Comment