How to run a PHP program from command prompt on a Windows Machine?
问题 I'm a PHP Developer by profession. I'm using a Lenovo Ideapad laptop that runs on Windows 10 Home Single Language 64-bit Operating System I've also installed XAMPP Control Panel v3.2.2 at location "C:\xampp" to execute PHP programs in a web browser on my machine. The "php.exe" file is present at the location "C:\xampp\php" . The document root directory to save the PHP files is at the location "C:\xampp\htdocs" . I'm able to run the PHP programs that I created and saved in a directory C:\xampp