how to run a php project in xampp and web browser code example Example: run php in xampp Put PHP code files into the folder C:\Program Files\XAMPP\htdocs