How to Install and Use XAMPP Server

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello welcome to my YouTube channel code Learner in this video I am going to show you how to install and configure a examp package in your local computer samp is a free and open- Source web server solution it can be used to provide Local web server environment for testing and development purpose actually samp consist of a set of applications or a set of softwares here x means it's a crossplatform application that means you can use the samam package in either windows or Linux operating system the letter EA means Apache web server you can configure or you can use your local computer as a web server m means MySQL or Maria DB that means your computer will be act as a database server or you can configure your computer to act like okay database server the p means PHP and the next p means PE so here PHP and pearl can be used for the scripting purpose there are other two flowers available that is Vamp and lamp Vamp can be used to install in Windows machine here w means Windows a means Apache m means MySQL and P means PHP lamp means Linux Apache MySQL and PHP I already told you that Sam can be used for the testing and development purpose it is actually used before the deployment of your web application in public server so for the testing purpose you can use samam package in your local machine in this video I am going to show you how to install and configure a exam server in your local machine so let us start the installation procedure first of all open your favorite web browser here I am using Google Chrome and search for the Sam server you will get a lot of links use the first link in the next page you can see Sam packages for Windows Linux and Mac operating system here I am using the package for Windows operating system it will automatically download the package into your system once the download is completed open the folder which contains the executable file which can be used to install the samam package so just double click the executable file which will start the installation [Music] procedure then it will pop up a warning message activated user account control just ignore for now by clicking the okay button which will start the installation procedure just click on the next button and here you can see samp package bundle comes with all the following applications that is apach server MySQL FTP server mail server PHP and pearl script and PHP my admin PHP my admin can be used to manage your database in your system then click on the next button then you can choose your favorite language for the installation I am going to choose English then click on the next button which is going to start the installation of samp server in your machine [Music] then you will get a popup window like this completing the Sam Setup Wizard so here I am not opting the option that is do you want to start the control panel now then just click the Finish button once the installation is completed you can start the samam control panel from the start menu in the exam control panel you can see the following modules Apache MySQL file Zilla Mercury and Tomcat you can start or stop all these module individually here you can start the Apaches server by clicking the start button which is given against the [Music] Apache once the Apache server is started you can see that the module name given will become green color and the default port number the apach server is listening is 80 you can change that port number by clicking the configure button also you can start the mySQL database server by clicking the start button given against the mySQL database you can check whether the web server is started or Not by clicking the your favorite web browser and uh type Local Host in the address bar if you are getting a page like this we can say that your web server has started running in this page you can see one important link that is PHP my admin which can be used to configure or create a database in your system this is the homepage or dashboard of PHP my admin in the left side you can see a lot of databases you can create a database here by clicking the new button here I will show you an example on how to create a database and tables using PHP my admin letter next I will show you how to create create and run a sample PHP script using your configured web server let us create a simple PHP script to display a welcome message in the web browser and execute that PHP script using the installed Apache server for that I am using the notepad text editor for creating the PHP script you can use anyone of your favorite text editor you can use either Dream Weaver Visual Studio code notepad wordpad emac Nano text editors here I am going to use the text editor notepad in this type the function echo echo in PHP you can use Echo to display a message on the screen so echo in double code you can type the message to be displayed welcome to PHP script so this thing should be displayed on the screen to make it as a PHP script you have to enclose this statement inside the PHP tag so this is the PHP tag less than question mark PHP and close that tag using question mark greater than next save that file here important thing is that uh you need to save that file in the server rout directory so in this machine I have installed the Sam server and this is the root directory of Apache server that is samp HD docs in this file in this folder you create a a file so here I am giving the file name as test. PHP the file extension should be dot PHP then just click the save button so here we just created a PHP script the file name name is test.php next thing open your samp control panel and start the Apache server so the color changed to Green we can say that the apach server has been started then open your web browser type Local Host slash your file name test.php so you can see that the uh welcome to PHP script output has been displayed in the web browser you can edit that file we can give a head heading tag H1 to display the welcome message in heading format then close that heading tag H1 then save that file once again we can uh just reload the browser you can see the output so this is the simple example of PHP script let us wind up this video here in the next video I will show you how to create a web application or how to create a project using samp package if you have any queries regarding this video just leave a comment in the comment box okay thank you
Info
Channel: Code Learner
Views: 17
Rating: undefined out of 5
Keywords: XAMPP, web server, mysql, php, perl, installation, example php, wamp, lamp, mamp
Id: xMRPmFCC3DU
Channel Id: undefined
Length: 9min 24sec (564 seconds)
Published: Sat Jun 29 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.