+ 1
How to run a php file?
I am almost done the basics of PHP and I want to know how to test a php file on visual studio code, which is what I use. How do I actually run and compile it?
1 Réponse
+ 1
If you have PHP installed on your system - run "php myfile.php", myfile.php is your file name obviously. To run the build-in server run "php -S localhost:8080" inside of a directory. You can do this inside vscode's terminal.