How to use XAMPP for web development?



Share



Learn how to install XAMPP and develop dynamic web pages using a front end client interface and back end server interface using XAMPP.

Online courses related to this article


Course description

Learn firmware development theory, applications, get practical skills from online tests, projects and earn certificate for software jobs



Course description

Learn, test your C programming skills and earn certificate for software jobs



Course description

Learn to develop embedded systems, interfacing electronic peripherals through real time projects and get required practical skills for software jobs



Course description

Learn to develop software solutions for linux environment, implement requirements through real time projects and get required practical skills for software jobs

What is XAMPP?

XAMPP is a completely free, easy to install Apache distribution containing MySQL, PHP, and Perl. The initial X stands for the operating systems that it works with such as Linux, Windows and Mac. The XAMPP software contains the web server Apache, the relational database management system MySQL (or MariaDB) and the scripting languages Perl and PHP for back end server management.

Installing XAMPP in windows - STEP I:Download XAMPP

Download XAMPP from

Installing XAMPP in windows - STEP-III:Deactivate antivirus

It is recommended to turn off any antivirus software temporarily utill all XAMPP components have been installed successfully.

Installing XAMPP in windows - STEP-IV:Deactivate user account control

It is recommended to deactivate the user account control(UAC) utill all XAMPP components have been installed successfully.

Installing XAMPP in windows - STEP-V:Run executable

Run the executable .exe file by double clicking on it. The setup wizard will start. Click on Next to configure the installation settings.

Installing XAMPP in windows - STEP-VI:Choose components

Under Select components choose the components of your choice. It is recommended to install a standard setup and all available components for a full local test server.

Installing XAMPP in windows - STEP-VII:Choose installation directory

Under Installtion folder provide a path where the XAMPP software packet will be installed on your computer. Once path is provided click Next.

Installing XAMPP in windows - STEP-VIII:Start installation process

Click to start installation once all preferences are selected. The setup wizard will unpack and install the selected components. The installtion process can take several minutes in total.

Installing XAMPP in windows - STEP-IX:Complete installation

Once all the components are unpacked and installed, you can close the setup wizard by clicking on Finish.

Verify your XAMPP installation

To verify whether your XAMPP local test server is installed and configured correctly create a php test page as shown in the following. Create a new PHP page by using the following content in your editor and storing it as hello.php in your test folder (C:\xampp\htdocs\test). Open your PHP page hello.php via localhost/test/hello.php. If your browser window displays the words 'Hello XAMPP World', then you have successfully installed and configured your XAMPP local test server.


<head>
  <title>XAMPP server test</title>
 </head>
 <body>
  <?php echo '<p>Hello XAMPP World</p>'; ?>
 </body>
</html>

Want to contribute a new article? Write and upload your article information .
Share


 Articles

 C Programming

 Linux Software

 Embedded Systems

 Python Programming

 Search Code Snippets

 Popular C search examples

 Popular C search MCQs



 Online certificate courses

 Test your skills:online tests

 C Programming

 Python Programming

 Linux Software

 Quantitative Aptitude

 Embedded System Software

Share