


You don’t need an Internet connection, you can use your local server anywhere, and all you need is a computer. Local servers are much safer and hidden from hackers, especially when your website is in the testing phase. A local server allows you to test your website (code, plugins, themes, etc.) locally on your computer without having to pay a hosting company.

XAMPP is a multi-platform local server environment developed by Apache Friends. I hope this simple guide has helped you with creating and running your first PHP project with XAMPP open source web server.About Using XAMPP with WordPress for Local Development It feels great when you design your first dynamic script, run it and view it working on your browser. Conclusion #Ĭreating first web project is always very exciting for a beginner. Go to localhost/my_first_php_project.phpĬongratulations! you have just created your first PHP project.Mostly htdocs folder resides here: C:\xampp\htdocs Copy this PHP script to htdocs folder inside your XAMPP installation.For “Save as type”, select “All Files (*.*)” option.If you don’t have a programming editor, simply open up Notepad. Assuming that you have already installed XAMPP by following above tutorial, now let’s create a simple PHP script and test it on XAMPP.Setup XAMPP and phpMyAdmin as localhost on Windows Create PHP script # If you don’t already have XAMPP working installation, then follow this guide to install XAMPP: XAMPP server provides a complete environment for PHP web app development. That’s why it’s the most popular PHP development environment. It contains Apache, MySQL, MariaDB, PHP, and Perl. XAMPP is an open source web server solution stack. We will cover following sections in this blog post: It provides a local server for developers to test and build web apps. XAMPP is an open source web server which provides a local environment to create, run and test a PHP project before deploying it on live servers. Learn, create and test your PHP projects on localhost by following a few easy steps. Setup web development environment using free and open source XAMPP server.
