how to run the php program in xampp server code example Example: run php in xampp Put PHP code files into the folder C:\Program Files\XAMPP\htdocs