1. Setting Up Web Server - Installing Xamp
1. Setting Up Web Server - Installing Xamp
1
2
3
4
5
6
7
1. Config. This option lets you customize the configuration settings of XAMPP itself, as
well as its individual components (like Apache, MySQL, etc.). You can tailor the
environment to match specific development needs.
2. Netstat. Displays a list of all active network connections and processes currently running
on your local machine. It’s useful for identifying port conflicts or checking what services
are currently in use.
3. Shell. Launches a command-line interface (UNIX-style shell) directly from the XAMPP
directory, enabling you to run advanced commands and scripts.
4. Explorer. Opens the XAMPP installation directory in Windows Explorer, giving you quick
access to important files and folders such as htdocs, php, and mysql.
5. Services. Shows the status of services running in the background, allowing you to
manage them without using the Windows Services panel.
6. Help. Provides access to community forums and other support resources where you can
find solutions to common issues or ask questions.
7. Quit. Closes the XAMPP Control Panel application. This does not stop the services
already running; they will continue to run in the background unless manually stopped.
1.2.1. Setup the Apache
Apache (Apache HTTP Server) is one of the most widely used open-source web
servers. It is responsible for handling and delivering web content to users by processing
requests and serving files such as HTML, PHP, images, and other resources over the internet or
a local network. In the context of XAMPP, Apache allows your local machine to act as a web
server for testing and developing websites and web applications.
1
2
Now you can open your browser and access your projects via:
1. http://localhost/CpEPortal
2. http://localhost/CpEDepartment
Figure: Accessing CpEDepartment
1.2.2. Setup the MySQL
MySQL is an open-source relational database management system (RDBMS). It is used
to store, manage, and retrieve data for web applications. MySQL works in conjunction with
server-side scripting languages like PHP to dynamically display content based on user input or
database queries. In XAMPP, MySQL is essential for running web apps that require a database,
such as content management systems (CMS) like WordPress.
Figure: Starting the MySQL server from the XAMPP Control Panel
Step 2: Confirm MySQL is Running
Once started, the MySQL module will show a green highlight with a message such as
"Running" next to it. This indicates that MySQL has successfully started and is ready to be used.
Figure: Clicking phpMyAdmin on the localhost homepage to access the database interface
You’ve now successfully created a new table under the icpepse database.