How to Run and Execute downloaded PHP Projects? [ 2021 Update ] XAMPP + phpMyAdmin | Complete Guide

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone i welcome you to my channel today  i'm going to show you how to run or execute any   phd project that you have downloaded from internet  so let's begin now before starting i would like   to introduce the sponsor for this video cloudways  cloudways allows you to avoid wave hosting hassles   so that you can totally focus only on your  business using that innovative platform you can   go live in minutes all you need to do is you need  to first simply select your application and then   your server and after that you need to just simply  select your server side and you are ready to go   please use the affiliate link in the  description to support geeky script channel   and also use our unique promo code geeky to avail  twenty percent discount for two months now to run   any php project first you need to download that  php project right so for that uh if i go to   my browser you can see we have a project right  this is a php project so we have this php files   so i am going to show you how to download it and  how to run it in our local system so for that   first you need to just you know simply download  it so just you know simply download the zip and it   will you know going to download it right so after  downloading you to just simply you know go to that   download directory and here you can see this  project has been directly downloaded over here   so first step is just right click on it and then  simply click on extract all and then just simply   click on extract so what it will do is it will  you know going to extract your project over here   right you can see this project has been rightly  extracted over here and these are the files   right now just you know simply hit a back  button and this is your project right so   you have rightly downloaded and extracted your  project now the next step is to download zap   so go to this page and you will be able to  download xampp the latest version is 8.0.13   i have already made a detailed video on how  to install xampp so just follow that video and   install your xampp right so after you install your  xampp just you know simply search with this amp   and when you click on this control panel  you'll be able to see this window right   here you need to start your apache and mysql so  just simply click on this start button for apache   and mysql right and you have you can clearly  see that it has you know rightly started   right this apache and mysql now you need to click  on this admin button for mysql in my scale you'll   be seeing this admin button so just simply  click on that what it will do is it will you   know going to open this localhost phpmyadmin you  can see the localhost phpmyadmin has been rightly   opened over here and this is basic and this  is basically the interface of our phpmyadmin   this is what we call this as a database right so  here any data that we are submitting in our php   project that going to be stored over here right so  this phm admin has been rightly opened over here   now just minimize it and also minimize this  control panel this control panel job is now   finished almost right so after you just you know  simply start this apache and mysql your control   panel jobs uh almost finished just simply  minimize it right and now here remember we   have extracted this project just simply right  click on it and then just simply click on cut   right and then you need to simply go to your c  drive then your xampp folder you'll be seeing   so in that video where i have shown you how to  install xam i have clearly told you that you will   be getting this exam folder after installing your  xampp right so just simply go inside that folder   and then you'll be seeing this htdocs folder right  this is very important just simply go inside that   folder and here you need to just simply right  click on it and paste right so what it will do is   it will you know going to paste your downloaded  php project over here so if you just simply go   inside that folder you can see all files are  rightly there now just simply go editor back   and then if you just simply again right click on  it on your folder then just simply click on rename   and then you need to just simply again right  click on it and copy so just simply copy the   folder path right and then again go back to  your browser just you know simply open a new tab   and here just simply type local host slash then  paste just simply paste that same folder name that   we have just copied then enter and you can clearly  see that our php project has been started running   over here so it is actually running from this  code that we have written in this index.php so   if i just simply open that file you can see this  is the code which is up and running on our browser   right we have this submit button with then email  address then address gender last name first name   everything is there so that is what it is in our  browser it is also showing like first name last   name gender and here we have a form but upon  entering anything if you click on submit it   will going to show it up because our database is  not connected yet right so for that you need to   make your database connection right so if you  go to our project folder you can see we have   a sql file over here right testdb dot sql right  so what you need to do is you need to just you   know first open this insert.php file which is  basically our database connection where we have   made basically you can see in this connection  variable we have connected with mysql connect   and first we have localhost then root and this  is our password our password is blank and finally   we have this test database so these four are our  parameters right and the last one is our database   name you can see that our database name is  testdb so just simply copy that database name   right and then you need to go to your browser  and here in phpmyadmin just simply click on new   and then under this create database you need to  just simply right click and paste your database   name so whatever database name it has in mysqli  connect whatever database name it has you need   to just simply paste that database name over  here and then just simply click on create   what it will do is it will going to create our  database you can see our database testdb has   been rightly created over here now it's time  to import our sql file so that all tables and   everything that were there going to be imported so  for that you need to just simply click on import and then just simply click on choose file and you  can see that our project folder has been rightly   opened over here if it directly not open then  you need to you know navigate to your c drive   then your sam folder then http folder and then  you will be getting this insertion for form data   which is basically our project type and you can  see it has rightly opened and here we have this   testdb dot sql file right just you know simply  select this and then just simply click on open   and you can see test db dot sql has been rightly  imported so now just simply scroll down and then   just simply click on go so what it will do is it  will you know going to import everything that was   written on that sql file so it is you  know i'm going to create our database   then there is one you can see our database  has been right to created there is also one   you know column so that also it inserted  right so you can see our college table   has been directly created over here so if you  just you know simply click on that you can see   our first name last name gender address  email everything has been properly   created right with one data is also there  right so now if you just again go back to your   project and here if you just simply enter  your credentials so i'm good you know give   just simple credentials okay so it is geeky and  the last name will be script right and then agenda   and address india and i am  going to give my email address all right and then just simply click  on submit and you can see your data has   been successfully stored on your database and  you can see what data we have inserted right   if you go back to your database and if you just  simply click on browse you can see that geeky   script mail india and email what we have entered  there has been directly inserted in our database   right so in this way you establish your  connection with your php my admin and you set up   our project locally on your system right i have  already shown you how to download any php project   and then how to basically install xampp and then  how to launch your project on your local system   right so that's basically all about this video  friends thank you very much for watching this   video if you like this video then please give it  a like and so please do share with your friends   thank you very much for watching  this video and god bless you all
Info
Channel: Geeky Script
Views: 120,350
Rating: undefined out of 5
Keywords: php, php tutorial, learn php, php for beginners, how to install xampp, xampp, how to install xampp for windows 10, how to install xampp server on windows 10, install xampp, XAMPP installation, xampp tutorial for beginners, Web-Development, xampp server, install xampp windows, xampp tutorial, xampp installation, how to run php file on localhost, how to run php file on localhost xampp, how to run php file, php programming, How to Run PHP on Local Server, xampp windows 10
Id: aAoGurfF-EY
Channel Id: undefined
Length: 10min 7sec (607 seconds)
Published: Wed Dec 08 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.