How to run PHP on Visual Studio Code
Learn how to run a PHP program on Visual Studio Code. You need XAMPP as well for server with VS Code.
Install XAMPP on Windows 10
• How to Install XAMPP (...
Install Visual Studio Code (VS Code) on Windows 10
• How to Download & Inst...
►Don’t forget to Subscribe
/ amittechie
► Donate & Support us
www.paypal.com/paypalme/learn...
►Our popular videos:
- How to run first program in PHP? • How to run first PHP p...
- Android: Locate and view SQLite Database in Android Studio • Android: Locate and vi...
- Android Studio- Change App Name (App Title) of Android App • Android Studio- Change...
- How to run your first Java Program in NetBeans IDE • How to run your first ...
Subscribe to Amit Thinks for more videos!
Like! Subscribe! Share!
Stay tuned!
Пікірлер: 168
🔥[Updated] Run PHP on Vs Code using extension: kzread.info/dash/bejne/o4J30tWSpqmZoNI.html 🔥PHP Tutorial: bit.ly/3zb14J3
@CoderMalik
5 ай бұрын
thanks sir
Exactly what I needed. Thank you.
Thanks for help.I was so frustrated 😭
@Amit.Thinks
3 жыл бұрын
You're welcome, Sharan! Subscribe!
@chocolaty_gurl
Жыл бұрын
U r so cute 😊
Thank you for this explanation!!
thank you so much! helped a lot !
Hello, Amit! Thank you for the helpful video but I want to ask you a question. I followed you steps one by one but my code doesn't show. What do I do?
Not Found The requested URL was not found on this server. Apache/2.4.52 (Win64) OpenSSL/1.1.1m PHP/7.4.27 Server at localhost Port 80 This error is show
Sir neega sonna mari tha na save pannura but text file tha save aagudhu php file convert aagala...Why sir
Thanks for this. Btw, my Chrome does not render php directly - the way you set all that up resulted in a blank screen, but the source code is correct. . I had to wrap the php part around HTML tags to get it rendered on chrome.
@sarimmominkhawaja6116
3 жыл бұрын
Please elaborate and share your code please
Thank you, fella!
Thank you. From u I got know about run this vs code
thank you sir so much for your helpful guidline.
Great Explanation in Simple Words !
@Amit.Thinks
Жыл бұрын
Glad you liked it! Refer our free: PHP Tutorial: studyopedia.com/tutorials/php VS Code Tutorial: kzread.info/dash/bejne/n39lmbaenJrKcZs.html
Hi Amit, hope you're great! Your video title says "How to run PHP on Visual Studio Code" but what I learnt in 3:56 is "How to write PHP code in Visual Studio and see output in Chrome?" Honestly, I surely did not expected it this way. It would be great if you could show me how to get PHP output in VS? Thanks in advanced.
@crybero2537
3 жыл бұрын
Php is a web language
@Amit.Thinks
3 жыл бұрын
@Crybero Epic reply! Generally, people ask me to create a video on PHP to execute on web browser because PHP is a web language (server-side scripting).
@crybero2537
3 жыл бұрын
@@Amit.Thinks Ahahaha thanks! I mean like Php doesnt execute on a terminal from my knowledge lol
Thank you sir. :D My God bless you.
@ahmednour5654
2 жыл бұрын
its "may god bless you"
You're a good teacher
Thankyou so much bro ...it's helpful
hi, i can't find xampp folder here on my desktop. help >:
Thank you brother :)
Appreciate brother!!!
@Amit.Thinks
3 жыл бұрын
You're welcome, Khalil. Subscribe for more such videos.
Thank you!
It was very useful thks a lot
Thank you very much! :)
@Amit.Thinks
3 жыл бұрын
You're welcome, Erik. Subscribe for more videos.
nice tutorial 🔥🔥🔥
Do we need both XAMMP server and VSC or either of any?
@MdMehediHasan-ji6ol
3 жыл бұрын
both
@Amit.Thinks
3 жыл бұрын
I have mentioned in the video. We need XAMPP for PHP and definitely the connection is done on VS Code.
@zakidz6716
2 жыл бұрын
@@Amit.Thinks the connection is done on vs code ??? this sentense mean nothing vscode is just a text editor in this video it has nothing to do with the actual connection so if you use notepad it's the same thing
@Amit.Thinks
2 жыл бұрын
@Zaki I have already uploaded the updated video. Check the PIN comments: kzread.info/dash/bejne/o4J30tWSpqmZoNI.html
thank you so much brother for this video
@Amit.Thinks
2 жыл бұрын
You're welcome. Access our Free Tutorials: PHP Tutorial for Beginners: studyopedia.com/tutorials/php/ VS Code Tutorial for Beginners: studyopedia.com/tutorials/visual-studio-code/
thank you i saw many tutorials but saw the solution here
@Amit.Thinks
6 ай бұрын
Welcome. After installing, refer to our free PHP Tutorial: studyopedia.com/tutorials/php
How to Run PHP Code in VSCode Terminal console..?
Thank you so much!!!
@Amit.Thinks
3 жыл бұрын
You're welcome! Subscribe for more videos. Visit studyopedia.com/ for free programming tutorials
Thanks a lot 😊
Thanks for the help.
So please help me and tell me what I should do
teacher how to edit run wordpress theme in vs code
How to use live server while working with php for xampp/wamp?
@Amit.Thinks
3 жыл бұрын
Try the following video: kzread.info/dash/bejne/o4J30tWSpqmZoNI.html
My demo.php doesn't ask to change extension and gets saved as text document as it is, what am i doing wrong?
@Amit.Thinks
7 ай бұрын
Fix: kzread.info/dash/bejne/iGyLraaSdM7NZ7w.html
Thank u🥰
thanks sir for this big help
My professor brought me here. Thank you!
@reneljohng.castaneda3993
2 жыл бұрын
Same brother
Sir in my laptop that rename option os not showing and when I open the demo file it is opening in notepad
@Amit.Thinks
3 жыл бұрын
@Yelpe Try this. Rename file extensions correctly on Windows 10: kzread.info/dash/bejne/iGyLraaSdM7NZ7w.html
why did you save the php file insdie xampp folder?
@Amit.Thinks
3 жыл бұрын
Because this is how we run a PHP program in XAMPP
love you dude
Great video! New suscribe
Thanks buddy :))
thanks man it worked out
@Amit.Thinks
3 жыл бұрын
Glad I could help, Himanshu. Subscribe for more videos on web dev and programming.
Thank You
thanks a lot for your help
@Amit.Thinks
3 жыл бұрын
You're welcome, Poulami. Subscribe!
I have mysql instead of xamp
Sir even i have changed to .php extension it is showing as a text document only
@Amit.Thinks
3 жыл бұрын
Fix the file extension rename issue: kzread.info/dash/bejne/iGyLraaSdM7NZ7w.html
thank you
it is really work :)
i couldn't change the text file to .php what to do?
@Amit.Thinks
3 жыл бұрын
Try this. Rename file extensions correctly on Windows 10: kzread.info/dash/bejne/iGyLraaSdM7NZ7w.html
thank u thank u so much sir.......
I am not able to change the .txt extension to .php
@Amit.Thinks
Жыл бұрын
Fix: kzread.info/dash/bejne/iGyLraaSdM7NZ7w.html
Why we no ask me want change For php file? Please help bro.
@Amit.Thinks
2 жыл бұрын
You need to allow file extension remaining. Follow this video: kzread.info/dash/bejne/iGyLraaSdM7NZ7w.html
Thank you sir
thank you
Thanks👍🏻
thx sir, but how to run php in any folder.. pls make a video on this topic sir pls
@Amit.Thinks
3 жыл бұрын
While using XAMPP, you need to set the PHP file in htdocs folder. No alternative for that....
@AllWithShiva
3 жыл бұрын
@@Amit.Thinks okay sir, and thank you sir....
my text file not converted into php now what can i do..?
@21121992somu
Жыл бұрын
i am using windows 11 please reply..?
@Amit.Thinks
Жыл бұрын
Fix: kzread.info/dash/bejne/ZHx_2spmqJTPdto.html
tq bro...lv u
Thanks a lot !
@Amit.Thinks
Жыл бұрын
You are welcome! Refer our: VS Code Tutorial: kzread.info/dash/bejne/n39lmbaenJrKcZs.html PHP Tutorial: studyopedia.com/tutorials/php
thank you so much sir!
@Amit.Thinks
Жыл бұрын
Welcome. After installing, refer our free PHP Tutorial: studyopedia.com/tutorials/php
AMAZING
@Amit.Thinks
2 жыл бұрын
Thanks! Refer our free VS Code Tutorial: kzread.info/dash/bejne/n39lmbaenJrKcZs.html
Your channel so good for me im sub u , i hope you always good luck
Thank u broo
thank you so much sir...........
@Amit.Thinks
11 ай бұрын
You're welcome. Refer to our free: VS Code Tutorial: kzread.info/dash/bejne/n39lmbaenJrKcZs.html PHP Tutorial: studyopedia.com/tutorials/php
Thanks for all.
@Amit.Thinks
Жыл бұрын
Welcome. Refer our free: PHP Tutorial: studyopedia.com/tutorials/php VS Code Tutorial: kzread.info/dash/bejne/n39lmbaenJrKcZs.html
Can we use wamp server instead with php
@Amit.Thinks
3 жыл бұрын
Try the updated video: kzread.info/dash/bejne/o4J30tWSpqmZoNI.html
0:56 , it did not ask me to change the file name to php file and I didn't get you bro, pls reply me,
@Amit.Thinks
2 жыл бұрын
Basic Windows usage. No big deal. Many faced the same issue, so I created a video with a fix: kzread.info/dash/bejne/iGyLraaSdM7NZ7w.html
@venkateshnannur4299
2 жыл бұрын
@@Amit.Thinks Still i am not getting bro, again same problem the browser displays "not found". pls help bro
@Amit.Thinks
2 жыл бұрын
Follow the video correctly.
THANK YOU!!!!
@Amit.Thinks
Жыл бұрын
You're welcome. Refer our free: VS Code Tutorial: kzread.info/dash/bejne/n39lmbaenJrKcZs.html PHP Tutorial: studyopedia.com/tutorials/php
thanks
Thanks!
@Amit.Thinks
2 ай бұрын
You're welcome. Refer to our free VS Code Tutorial: kzread.info/dash/bejne/n39lmbaenJrKcZs.html
Thank you so much
@Amit.Thinks
2 жыл бұрын
You're most welcome. Refer our free VS Code Tutorial: kzread.info/dash/bejne/n39lmbaenJrKcZs.html
thanks helpful
@Amit.Thinks
Жыл бұрын
Welcome. After installing, refer our free PHP Tutorial: studyopedia.com/tutorials/php
when you have problem, indian bro is there to help you
when i serch localhost then i not get it what you show.....i jump to google search directly......
@Amit.Thinks
3 жыл бұрын
Hi, You did not typed localhost correctly on the address bar of web browser. Follow the video correctly.
@aadityasharma7670
3 жыл бұрын
@@Amit.Thinks yes i have fix this prblm but again i have faces some issue like i did not get output in browser???
@aadityasharma7670
3 жыл бұрын
When i search localhost/aaditya/first.html then i get blank page and Not show hello world prog...
thnx
thanks a lot
@Amit.Thinks
3 жыл бұрын
Welcome! Subscribe! Here's an alternative way to run PHP on VS CodeL kzread.info/dash/bejne/o4J30tWSpqmZoNI.html
thank you superbsueprb superb
Thanks...
@Amit.Thinks
Жыл бұрын
Welcome. Refer to our free: PHP Tutorial: studyopedia.com/tutorials/php VS Code Tutorial: kzread.info/dash/bejne/n39lmbaenJrKcZs.html
thanks sir
@Amit.Thinks
11 ай бұрын
Welcome. After installing, refer to our free: PHP Tutorial: studyopedia.com/tutorials/php VS Code Tutorial: kzread.info/dash/bejne/n39lmbaenJrKcZs.html
extension accept nhi kr rha hai wo text file hi bana rha hai
@Amit.Thinks
11 ай бұрын
Fix: kzread.info/dash/bejne/iGyLraaSdM7NZ7w.html
That great
@Amit.Thinks
Жыл бұрын
Thanks! Refer our free Tutorials: PHP Tutorial: studyopedia.com/tutorials/php Python Tutorial: kzread.info/dash/bejne/eoeW26Swnai1gc4.html MySQL Tutorial: kzread.info/dash/bejne/mHqbxtCMYc_HcZM.html MongoDB Tutorial: kzread.info/dash/bejne/lY5rm8Ovn9Sfhbg.html SQL Tutorial: kzread.info/dash/bejne/rKhnxclqgMraeaw.html VS Code Tutorial: kzread.info/dash/bejne/n39lmbaenJrKcZs.html Visual Studio Tutorial: kzread.info/dash/bejne/hHl7j9KYlam0edo.html HTML Tutorial: kzread.info/dash/bejne/dXqbwcSuorDAYZM.html
thanks bhai
@Amit.Thinks
Жыл бұрын
Welcome! Refer our PHP Tutorial: studyopedia.com/tutorials/php VS Code Tutorial: kzread.info/dash/bejne/n39lmbaenJrKcZs.html
nice
super bro
@Amit.Thinks
Жыл бұрын
You're welcome. Refer our free: PHP Tutorial: studyopedia.com/tutorials/php VS Code Tutorial: kzread.info/dash/bejne/n39lmbaenJrKcZs.html
how to change .txt file into .php file?
@Amit.Thinks
3 жыл бұрын
Basic file renaming
@shawnnatalia6874
3 жыл бұрын
Even i had the issue, check the windows 10
@Amit.Thinks
3 жыл бұрын
@dexter Some of my channel viewers got stuck in here while renaming file extensions, so I created the following video: kzread.info/dash/bejne/iGyLraaSdM7NZ7w.html
great
@Amit.Thinks
Жыл бұрын
Refer to our free: PHP Tutorial: studyopedia.com/tutorials/php VS Code Tutorial: kzread.info/dash/bejne/n39lmbaenJrKcZs.html
Thank u pak
@Amit.Thinks
3 жыл бұрын
What is pak?
@luthfifebriansyah7333
3 жыл бұрын
@@Amit.Thinks pak is teacher in indonesia langguage🙏
@Amit.Thinks
3 жыл бұрын
@Luthfi Ok, thanks! :)
im facinate
php is so complicated
@Amit.Thinks
Жыл бұрын
Refer our basic PHP Tutorial: studyopedia.com/tutorials/php
thx alot
U r life saviour bro
@Amit.Thinks
5 ай бұрын
Welcome. After installing, refer to our free: PHP Tutorial: studyopedia.com/tutorials/php VS Code Tutorial: kzread.info/dash/bejne/n39lmbaenJrKcZs.html
thank you
Thank you sir
thanks
@Amit.Thinks
Жыл бұрын
You're welcome. Refer our free: VS Code Tutorial: kzread.info/dash/bejne/n39lmbaenJrKcZs.html PHP Tutorial: studyopedia.com/tutorials/php
thank you
thank you
thank you
@Amit.Thinks
6 ай бұрын
Welcome. After installing, refer to our free PHP Tutorial: studyopedia.com/tutorials/php
thanks
@Amit.Thinks
Жыл бұрын
Welcome. Refer our free PHP Tutorial: studyopedia.com/tutorials/php