A basic introduction to PHP. PHP is an open-source programming language which is widely used in the web today. It allows you to create dynamic websites and pages driven by database results. XAMPP is an open source cross-platform web server solution that allows you to build PHP websites, pages locally in your computer.