0% found this document useful (0 votes)
35 views11 pages

How To Install XAMPP

XAMPP is a free and open source cross-platform web server package that allows you to create a local testing environment. It contains Apache HTTP Server, MySQL database, and interpreters for scripts written in languages like PHP and Perl. To install XAMPP, download the executable file from its website, run the installer, and start the Apache and MySQL services. Files can then be placed in the htdocs folder to test them locally by accessing URLs like http://localhost.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views11 pages

How To Install XAMPP

XAMPP is a free and open source cross-platform web server package that allows you to create a local testing environment. It contains Apache HTTP Server, MySQL database, and interpreters for scripts written in languages like PHP and Perl. To install XAMPP, download the executable file from its website, run the installer, and start the Apache and MySQL services. Files can then be placed in the htdocs folder to test them locally by accessing URLs like http://localhost.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

XAMPP

dr.sc. Alen Šimec, viši predavač


Preparing for installation

• XAMPP is a bundle of applications that enable us to work on


a virtual server.
• To install Wordpress on your computer, you must install the
following support before installing it:
• Apache web server,
• PHP,
• MySQL
• For the installation of the Wordpress CMS application we
will use the XAMPP package that contains all three
applications listed
XAMPP

• XAMPP is a free multi platform web server package that


serves to develop and test dynamic web pages.
• To create laboratory exercises you need to download the
XAMPP from the web site.
https://www.apachefriends.org/download.html
• This application can also be run from a portable USB device
• After downloading the XAMPP executable file, it is
necessary to start installation.
XAMPP

• Dialog box to start the installation


XAMPP

• After successful installation in the XAMPP directory, you


must launch the xampp-control.exe file and start services:
• "Apache"
• "MySql"
• They are required to perform exercises
XAMPP

• You can verify successfull installation of the XAMPP


application and all required modules.
• Type in your browser: http://localhost
• Example:
XAMPP

• If this screen appears, you have successfully installed and


started all the necessary modules.
XAMPP

• Web site files need to be located in the XAMPP directory


called htdocs.
• We can create a new folder of arbitrary name within the
htdocs folder and place all web site files in it.
• You can access the created files by using the web browser
by typing in the address bar:
• http://localhost/directory
• http://127.0.0.1/directory
XAMPP

• To make sure that the web server you are working on has
PHP support installed, you can make PHP file with the
following content:

<?php phpinfo(); ?>

• Example
• Download file
XAMPP

• If support exists by
opening PHP files
created in the web
browser, various PHP
script information will
be printed, similar to
the example below.
• Example:
http://localhost/phpinfo.php

You might also like