Pages

Monday, April 21, 2014

Introduction to Web Server (For Joomla Installation) Based On Apache-MySQL-PHP (AMP) Package



-----
Introduction to Web Server (For Joomla Installation) Based On Apache-MySQL-PHP (AMP) Package

Introduction

Web Server Application is a software that handles web page requests and responses.
Web Server also processes data using scripting language such as PHP.
One of the popular approaches to run Web-based application is through the use of Apache-MySQL-PHP package. Examples are XAMPP, WAMP and USBwebserver.
Apache handles web page requests and responses.
MySQL handles data storage.
PHP handles data processing.
This tutorial provides a step-by-step approach to understand how Apache-MySQL-PHP package works.

STEPS

1) Download and setup UsbWebserver Folder group.

1.1) Download UsbWebserver from www.usbwebserver.net
1.2) Extract the contents to C:\USBW
https://lh4.googleusercontent.com/GGsFKRlav3YXK7Hpe0QS2piRWM7D-96p9oteNcGIjHWQGvtUz1T-aTYTooJQKdBGqhtYcRnPniDW__uTUAefdEaaoftvBh7bLgPZKtSDCqrVVmn90hfKZQik4DGw-8vCiwnbdaH_mOI

2) Test Apache Server

2.1) Double-click the usbwebserver program above.
Check that Apache and MySQL server indicator light is in green color.
Unblock the programs if the Windows Firewall asks your permission.
https://lh4.googleusercontent.com/O6hRLS-ix7tlFE7eb732XSFJVn11rhNt4gp7JfZwa5bbxP0-l9Pmx8E1qcWpyb1UmVXmAX7IHVRSMrndZanYP3JdkWCo5IHJ4coBJamDDYJzcyUbTUf9iwjyetLMryhguyTt8v-Dmkc
2.2) Click the localhost button.
You should see a web browser program automatically opens the URL http://localhost:8080.
(By default, Chrome web browser hides http://)
Localhost is the default domain name for a web server that runs on a local machine.
8080 is a port number. Port number is a logic connection point between the web server program and other program that communicates with it.
A combination of domain:port-number is also called a socket.

3) Test MySQL Server.

3.1) Switch back to USBwebserver Control Panel.
3.2) Click the PHPMyAdmin button.
4) PHP Test?
So far we have tested Apache and MySQL.
Do we have to test PHP?
Actually Step 3 (running PHPMyAdmin) has indirectly tested PHP.
However, if you want to check PHP Configuration, you can repeat Step 2.2 and click the hyperlink at the bottom of the page to see PHP server configuration details. It is also important to check that some values are right and compatible with Joomla.
-----
Stats