Change language

How to install PHP 8.1.2 on Windows 10/11 [2022 Update] Run your first PHP Program | Complete guide

How to install PHP 8.1.2 on Windows 10/11 [2022 Update] Run your first PHP Program | Complete guide

hello everyone i will come here to my  channel today im going to show you how to install the latest version of php that  is php 8.1.2 on a windows operating system so lets begin now to install php you need  to first simply go to your favorite browser and india test bar you need to just  simply type php download then enter and then youll be seeing this php.net  so just simply click on download and it will going to redirect  you to this official site of php here youll be seeing windows download button  so you need to just simply click on that since you are downloading it for  windows i am going to click on windows and here you will be seeing that there  are two options one is non-threat safe another is threat safe so im going to download  the threat safe one so ill just simply click on this zip and it will going to start downloading  our php now since i have already downloaded it i just you know simply cancel it and if i just  simply go to my download directory you can see our php rightly downloaded over here so you need  to just simply extract it so just simply right click on it and then just simply click on extract  all and this is going to be our extracted location so just simply click on extract and what it will  do is it will going to start extracting our php and see it has rightly extracted and these are all  files and folders that are there inside our php so let us first close this this is our  php folder so ill simply rename it okay so that we have a short and sweet folder name  just php and then version 8.1.2 so ill just simply you know copy it and ill go to c drive and  then ill just simply right click on it and paste so now just simply go inside your php folder and  youll be seeing all files and folders are rightly over here so here you need to just simply click on  this address bar then right click on it and copy so just copy this path right and then into just  click on the search icon and here just simply type in wiron and youll be getting this edit system  environment variables so just simply click on that and it will go into open system properties window  so just simply click on environment variables and then under system variables integer sim click on  path and then edit and it will going to open this edit environment variable window here and it will  just simply click on new then right click on it and paste so basically you need to paste this path  okay then just click on ok then again okay and then again okay and now let us first minimize our  this directory and here if you this time search with cmd just click on command prompt and now if  you just simply type php dash dash version then enter you can see that latest version of php that  is php 8.1.2 has rightly installed on our machine so in this way you can easily install a latest  version of php on a windows operating system now lets say you want to run a phd program so  that you can easily do let us first create a new folder and name it as php just simply go  inside that folder just simply create a new text document over here ill name it hello world  dot php since we are doing code in php so i am going to you know change the extension  to dot php then to just simply open this file so im going to open it with notepad and ill just maximize it php  then close it then ill simply go hello world right so just simply go to file then  save then click on this address bar just simply type cmd or command prompt will rightly opened  over here and now you need to just simply type php hello world that is basically our file name  helloworld.php then enter and you can see our output hello world has rightly shown in our  console that is what we have written over here right so in this way can easily install the latest  version of php on a windows operating system i have also shown you how to write a simple  hello world program so thats basically all about this video thank you very much for  watching this video and god bless you all

Shop

Learn programming in R: courses

$

Best Python online courses for 2022

$

Best laptop for Fortnite

$

Best laptop for Excel

$

Best laptop for Solidworks

$

Best laptop for Roblox

$

Best computer for crypto mining

$

Best laptop for Sims 4

$

Latest questions

NUMPYNUMPY

Common xlabel/ylabel for matplotlib subplots

12 answers

NUMPYNUMPY

How to specify multiple return types using type-hints

12 answers

NUMPYNUMPY

Why do I get "Pickle - EOFError: Ran out of input" reading an empty file?

12 answers

NUMPYNUMPY

Flake8: Ignore specific warning for entire file

12 answers

NUMPYNUMPY

glob exclude pattern

12 answers

NUMPYNUMPY

How to avoid HTTP error 429 (Too Many Requests) python

12 answers

NUMPYNUMPY

Python CSV error: line contains NULL byte

12 answers

NUMPYNUMPY

csv.Error: iterator should return strings, not bytes

12 answers

News


Wiki

Python | How to copy data from one Excel sheet to another

Common xlabel/ylabel for matplotlib subplots

Check if one list is a subset of another in Python

sin

How to specify multiple return types using type-hints

exp

Printing words vertically in Python

exp

Python Extract words from a given string

Cyclic redundancy check in Python

Finding mean, median, mode in Python without libraries

cos

Python add suffix / add prefix to strings in a list

Why do I get "Pickle - EOFError: Ran out of input" reading an empty file?

Python - Move item to the end of the list

Python - Print list vertically