How to install PHP 8.2.0 on Windows 10/11 [2023 Update] Run your first PHP Program | Complete guide
ฝัง
- เผยแพร่เมื่อ 10 ธ.ค. 2022
- Hello Everyone! Today in this video I am going to step-by-step guide you on How to install PHP 8.2.0 on Windows 10/11. Then I will show you how to run your first PHP Program | Windows 10/11. Windows (64-bit).
► Follow me on Instagram: / geekyscript
► Subscribe to Geeky Script Vlog Channel: / @geekyscriptvlogs
► Subscribe to Geeky Syntax Channel: / @geekysyntax
Get up to Free Hosting by using code "GEEKY" and you get 30% off for two months.
👉 Link: platform.cloudways.com/signup...
👉 Promo Code - GEEKY
Cloudways offers peace of mind and flexibility so you can focus on growing your business and reaching new milestones instead of dealing with server management. With Cloudways, you get an optimized stack, managed servers, backups, staging environment, integrated Git, pre-configured, Composer, 24/7 support, and the choice of five cloud providers: AWS, DigitalOcean, Linode, Google Cloud, and Vultr
So our main question is How to install PHP 8.2.0 on Windows 10/11?
So let's begin...
Geeky Script (
@GeekyScript) is a Computer Science - Educational Videos Creator 🎉
You can support us by buying a coffee ☕️ here -
www.buymeacoffee.com/geekyscript
✻ I really hope you find this video useful. ♥
✻ Please click on the CC button to read the subtitles of this video.
Step 1. First You need to go to the following PHP Official Site.
windows.php.net/download#php-8.2
This page will lead to the Php official Site. Now here find VS16 x64 Thread Safe and download the zip file.
Step 2. After downloading just extract the zip file on your Windows 10/11 OS. 64 bit. In my video, I have guided you step by step on how to install PHP 8.2.0. Just follow that if you are facing any issues.
Step 3. Now just copy and paste the extracted PHP folder to the Program Files of your c drive.
Step 4. Now set the environment variable and there you go! Now just simply create a PHP file and write a hello world script.
Step 5. Now open the Command Prompt and type:
php nameOfYourPhpFile.php
And there you go!!
But as mentioned in the video, It is always recommended to run a PHP program on a server. So for that follow these two videos:
Wamp Server: • How to Install WAMP Se...
Xampp Server: • How to Install XAMPP S...
The instructions in this video tutorial can be applied to laptops, desktops, computers, and tablets that run the Windows 10/11 operating system like Windows 10/11 Home, Windows 10/11 Professional, Windows 10/11 Enterprise, and Windows 10/11 Education. This tutorial will work on all hardware manufacturers, like Dell, HP, Acer, Asus, Toshiba, Lenovo, and Samsung.
#PHP #php8.2 #HowToInstallPHP #Windows10/11 #XamppInstallation #Apache #MySQL
Topics addressed in this tutorial:
How To Download And Install PHP On Windows 10/11 64-bit OS
Install PHP 8.2.0 on Windows 10/11
How to Install Xampp and Get Started
Install Xampp on Windows 10/11
How to Install Xampp and Get Started
Xampp installation windows 10/11
---------------------------------------------------------------------------
Laptop I use:
amzn.to/4937mKs
amzn.to/3HJGXp5
Recommended Laptops (35k Range):
amzn.to/3OqfNqL
amzn.to/3OrvHRZ
amzn.to/3SLK6uX
Laptops 50k Range:
amzn.to/3ujvWHW
amzn.to/3UrW6CL
amzn.to/3SKlJh7
Rode Wireless Mike:
amzn.to/4899rTH
amzn.to/3wd7nwE
Windows 11 Pro 64-Bit: amzn.to/49cEpvk
Windows 10 Pro 64-Bit: amzn.to/3SIxOn0
Quick Heal Antivirus: amzn.to/49gnsAJ
McAfee Antivirus: amzn.to/48ZoHUp
---------------------------------------------------------------------------
MY RELATED VIDEOS:
✻ All about Android Studio: • How to install Android...
✻ All about PostgreSQL: • How to Install Postgre...
✻ All about MongoDB: • How to install MongoDB...
✻ All about MySQL: • How to Install MySQL o...
✻ All about WordPress: • How to Install WordPre...
✻ All about Java Spring: • Spring Framework | Spr...
✻ All about Maven: • Maven project in NetBe...
✻ All about eBook: • How to Create an Ebook...
✻ All about React: • How to Install React o...
✻ All about NextJS: • How to Install Next.js...
✻ All about Angular: • How to Install Angular...
✻ All about Microsoft SQL Server: • How to Install Microso...
✻ All about Wamp: • How to Install WAMP Se...
✻ All about Visual Studio: • How to Install Microso...
---------------------------------------------------------------------------
THANK YOU so much for watching!
Please make sure to LIKE and SHARE the video and SUBSCRIBE to the channel for more such videos :)
CONNECT WITH ME ON:
✻ Website: geekyscript.com/
✻ Instagram: / geekyscript
✻ LinkedIn: / geekyscript
✻ Twitter: / geekyscript
✻ Email: geekyscript@outlook.com
✻ TH-cam channel: / geekyscript
Did this tutorial help you to install Php?
Comment Now!! and Let me know your opinion...
And Please SUBSCRIBE for more! Also, you can Support my work through TH-cam Thanks!
Bro pls help
Hello, i could not successfully verify the PHP in my cmd ...
i get the error message:
'php' is not recognized as an internal or external command,
operable program or batch file.
please help Sir
@@patricknsolo5016 restart your computer after setup path php
Did not work. With version php version 8.2.6
I cannot understand Indian English.
Never would have thought just typing cmd into the address bar of a folder would open it in cmd, thats amazing!
😊😊
True!
Thought the same while watching.
I thought I was the only one who learned that 😂😂
First I copied the php folder into program files and didn't work. Your method worked flawlessly. No unnecessary gibberish and bs, straight to the point. Thanks!
He explained the necessary points directly without further ado. Thanks for the video dude! Liked!
Welcome!
Great, simple and direct to the point, no audio mixing problems and even his diction was pretty good, 10/10.
Wow, thanks!
Thank man!! You're the best!!
great video i was struggling for hours reading crappy documentation then watched this for 3 minutes and it worked
You're welcome!
THANKS A LOT MAN! IT SAVED ME HOURS OF WORK
Glad it helped!
Nice tutorial, short and helpful💚
Thank you so much dude! Liked and subbed, great job
Welcome :)
tons of help, thank you so much. Keep up the good work
Thanks, will do!
Thanks for the video! Very easy to understand.
Glad it was helpful!
Short and simple. Thank you!
You're welcome!
It worked well and so simple. thanks for your video.
Glad it helped! :)
Thank you for help! It works!
Most Welcome! :)
Thank you so much! Very simple to understand.
Glad it was helpful!
Direct, simple, and accurate; thank you!
You're welcome!
great video, super clear instructions
Glad it was helpful!
Working, Thanks!
You're welcome!
thank you for the easy clear guide
Glad it helped!
Thanks for the video!! Very simple and well explicated :)
Welcome :)
Thank you!
Good and easy to follow!!!
Most Welcome! :)
Thank you so much, really thank you.
Most Welcome!
How do I run and host my project using this method without htdocs etc.
Very clear and thanks!
You're welcome!
Thank youu very much!!!
You're welcome!
was tearing my hair out trying to do this, thanks for the simple explanation!
Glad I could help!
Thanks man.
Happy to help
Thanks Man Love You
You're welcome!
Thanks a lot!!
Welcome!
Muito obrigado!
Any way available if i want to use multiple PHP in my system like 7.4.x, 8.1.x, 8.2.x at the same time. because if I choose 8.1 then project I have create in 8.2 is not running so can we change PHP version using command in windows?
Excellent tutorial. Allowed me to do what I needed to do in les than 3 mins Good stuff dude !
You're welcome!
A many many thanks to you Brother ,after searching a lot I got exact solution from your Video. Keep uploading this kind simple tutorials. Your new Subscirber
Sure friend :) You're welcome!
Thanks!
Welcome!
I have done the same method, but when I run the php file, it shows me PHP Version 8.0.28, not the contents of the php file
Thank You!!!!!!😁😁😁😁😁
Welcome!
thanks a lot!!!! 👍
I am glad that the video was useful :)
thank you
Geeky Script the legend!! This is perfect, thank you!
You're welcome!
it didn't work for me
'php' n’est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
how can i fix it?
Thanks very much bro, I'm learning PHP and don't know how I install.
Glad to hear that
thanks alot brother, iam really dumb, this is really help. the way you teaching me slowly... thanks alot, hope the god bless you with health
God bless you too Brother❤ Also, watch Complete ECommerce tutorial ⏩ th-cam.com/video/76E2QmjhRtQ/w-d-xo.html and WordPress Tutorial Playlist ⏩ th-cam.com/video/qt2BQt7uPbs/w-d-xo.html
Thank you :)
You're welcome!
Really helped it thank you.
Glad I could help :)
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Amazing dude, i was stuck with this for years!
Glad I could help!
Thanks bro 👍
Most Welcome! :)
Thank you
'php' is not recognized as an internal or external command,
operable program or batch file.
HELP😭😭
Thanks it saved my time👍
Glad it helped!
Thanks man
You're welcome!
My system give me error when I trying to check version on cmd "The program can't start because VCRUNTIME14. is missing from you computer " what that means??
Thank you.
You're welcome!
Thanks bro! Liked and subscribed.
Thanks for the sub! :)
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Thank you❤
wow simple and easy tqvm
Welcome 😊
good explanation , Keep going . Php is working good
Glad to hear that
How to update from cmd if needed?
Thanks man!!
Happy to help!! ❤ Also, watch Complete ECommerce tutorial ⏩ th-cam.com/video/76E2QmjhRtQ/w-d-xo.html and WordPress Tutorial Playlist ⏩ th-cam.com/video/qt2BQt7uPbs/w-d-xo.html
i says 'could not open input file : hello.php whats wrong
When i run the program show the messege could not open input file
Amazing video 👍👍
Thank you :)
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
great video, thanks!!!!
Glad you liked it! :)
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Your are amazing! Thanks a lot
Thank you too! 😊 ❤ Also, watch Complete ECommerce tutorial ⏩ th-cam.com/video/76E2QmjhRtQ/w-d-xo.html and WordPress Tutorial Playlist ⏩ th-cam.com/video/qt2BQt7uPbs/w-d-xo.html
I still am unable to save files to .php, it stays as a .txt document
Thanks from France
You're welcome!
Thanks for the guide.
You're most welcome
Awesome
Welcome!
why on cmd they say to me 'php' is not recognized as an internal or external command
Try Adding the location to path if you haven't
C:\php-8.2.4\
you need to give another extra \ in path
@@ayoung_dumb after adding the path. Same one is showing
good video thank you
Happy to help! Welcome! :)
I do not know you but you have taught me so much!
Thank you. :) We live in a world where known becomes unknown. Unknown remains unknown. Ultimately we live alone.
This was very helpful. You are a star.
Thank you :)
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Thank you so much sir
Most welcome
Thanks bro
Glad that it helped! Welcome :)
i have a “PHP warninng” something with (the 14.0 is not compatible with this php build linked with 14.29) so what should i do?
vcruntime140, something…
Same here
well done, it worked for me.
Great! All the best :)
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
thanks
You're welcome!
thanks a lot !
Welcome! 😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
mine is not working I installed the php 8.2.2 and everytime I run it,
it says that "could not open input file". I hope you can help me. Thanks.
for me its the same
hello , my cmd didnt tell hello world he said error
Very good
Thanks
regarding: *error couldn't open input file*
ensure that you have the hello file saved as a PHP file, and not a .txt*
my basic notepad only read text, saved it as a text document.. hello.php.txt, essentially.
use a platform like notepad ++, visual code, etc... save it as a php, try it again, you should get it..
i had the same error and just figured it out after a 4 fits of rage, 3 cups of coffee, 2 hours, and 1 break 👻
Thank you, sir
Most welcome
thank you!!!
Welcome! 😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
i just followed the steps exactly, but in the end i am getting this error:
Could not open input file: hello.php
exactly me too :((( did u get the solution?
@@shellyjha6307 i forgot what i ended up doing, i think i just used another video
simple one, thx for your tutor
You're welcome!
Command prompt part not work for me it gives error
did exactly like you and my php version is still 8.0.30 please help
getting this error:
C:\Users\Lenovo\Desktop\php>php hello.php
Could not open input file: hello.php
How can this error be resolved?
Thank you, It's work for me.
You're welcome!
thanks!
Welcome! All the best :)
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
I'm getting error Couldn't open input file how to overcome it
Thanks man..
Always welcome
thx man
you can only type in to cmd "php -v" fpr the versions number
Most Welcome!
nicely explained
Thanks for liking! ❤❤ Also, watch Complete ECommerce tutorial ⏩ th-cam.com/video/76E2QmjhRtQ/w-d-xo.html and WordPress Tutorial Playlist ⏩ th-cam.com/video/qt2BQt7uPbs/w-d-xo.html
i already install the PHP 8.0.11, but when i try this to upgrade version it can't
in the environment variables delete the old php version😄
thanks a lot sir
Most welcome 👍 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
it was really helpful
Welcome 😊
Thank you Geeky Script
You're welcome