Download as pdf or txt
Download as pdf or txt
You are on page 1of 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