AMPPS Setup Instructions

User Manual: Pdf

Open the PDF directly: View PDF PDF.
Page Count: 4

1 of 4
CSC 5750 Principles of Web Technology
Using AMPPS
Table of Contents
XAMP stack ............................................................................................................... 1
Installing AMPPS ...................................................................................................... 1
AMPPS information ................................................................................................... 1
Using the AMPPS Control Center ............................................................................. 2
Starting the Apache and MySQL servers .................................................................. 3
Correcting condition when Apache server won’t start .............................................. 3
Correcting condition when MySQL server won’t start ............................................. 3
Publishing a web page to the Apache server ............................................................. 3
Browsing a web page on the Apache server .............................................................. 3
Correcting a “web site can’t be reached” condition .................................................. 3
Improving the response time of local host (127.0.0.1) .............................................. 4
XAMP stack
There are several XAMP stacks available. These instructions pertain to the XAMP
stack from AMPPS.
Installing AMPPS
1) Navigate to page wamp.io/downloads.
2) Download the version appropriate to your operating system.
3) Run installation file Ampps-N.N-setup.exe.
4) Windows: locate file C:\Program Files (x86)\Ampps\Ampps.exe and create a
desktop shortcut to it. This is the AAMPS Control Center.
5) Windows: locate folder C:\Program Files (x86)\Ampps\www and create a
desktop shortcut to it. This is the web page folder.
AMPPS information
Windows: the default installation folder is C:\Program Files (x86)\Ampps.
The AMPPS administration web page is available at localhost/ampps/.
Windows: the web folder is C:\Program Files (x86)\Ampps\www.
Windows: the MySQL database folder is C:\Program Files
(x86)\Ampps\mysql\data.
The default root password is mysql.
2 of 4
CSC 5750 Principles of Web Technology
Using AMPPS
Using the AMPPS Control Center
Starting the application click the AMPPS Control Center desktop icon, or run
file C:\Program Files (x86)\Ampps\Ampps.exe. The following screen appears.
The screen shows the status of AMPPS applications.
Configuring a AMPPS application from the AMPPS Control Center, click the
gear next to the application, and then click the Configuration icon.
Minimizing the application from the AMPPS Control Center, click the
underscore in the upper right corner.
Windows: Restoring the application from the Windows tray, right-click the
AMPPS icon, and click Restore.
3 of 4
CSC 5750 Principles of Web Technology
Using AMPPS
Starting the Apache and MySQL servers
● Starting the AMPPS Control Center triggers the start of the Apache and MySQL
servers.
Correcting condition when Apache server wont start
If the Apache server won’t start from the AMPPS Control Center, insure that no
other applications are using port 80.
1) Open a Windows command window.
2) Enter command netstat -aon | findstr :80 and note the PID.
3) Open the Windows task manager.
4) End the task associated with the PID. It may be Service Host: Internet
Information Service”.
Correcting condition when MySQL server wont start
If the MySQL server won’t start from the AMPPS Control Center, insure that no
other applications are using port 3306.
1) Open a Windows command window.
2) Enter command netstat -aon | findstr :3306 and note the PID.
3) Open the Windows task manager.
4) End the task associated with the PID.
Publishing a web page to the Apache server
1) Open the local folder containing the web page file.
2) Open the web folder (the default on Windows is C:\Program Files
(x86)\Ampps\www).
3) Copy the web page file from the local folder to the web folder.
Browsing a web page on the Apache server
From the browser, enter address:
http://localhost/<web-page-file>
OR
http://127.0.0.1/<web-page-file>
Correcting a “web site can’t be reached” condition
If the following message is seen, first insure that the Apache server is running.
4 of 4
CSC 5750 Principles of Web Technology
Using AMPPS
Improving the response time of local host (127.0.0.1)
If the local host response time is more than a few seconds:
1) Open a text editor.
2) Windows: open file C:\Windows\System32\drivers\etc\hosts.
2) Change the following line from:
# 127.0.0.1 localhost
To:
127.0.0.1 localhost
3) Save and close the file.

Navigation menu