

PHP From the Command LineĪt this point, we know how to install PHP on Windows and we have a fully functional setup. Then, navigate to and you will see Hello, World! on the page. For example, you can create your example Hello World script in a file named hello.php. Then, you can access them by browsing at or (they are equivalent). You can empty this folder and put your HTML, CSS, and PHP files here. By default, XAMPP puts those files in C:\xampp\htdocs. Serving the wesbiteĪ website is a collection of static and dynamic files available over the web. Once you cleared all conflicts, you will be able to start the services and see them in green. Of course, you could do that on the Apache side as well, but we don’t recommend that to new users of Apache.

Luckily, you can change your Skype configuration to avoid using port 80 or 443, removing the conflict. Installing XAMPPĭownload XAMPP from Apache Friends as said above.įor example, Skype is a program that can create conflicts. The latest XAMPP version will come with the latest stable PHP version. XAMPP is also available for Linux and MAC, in case you want it. Just go to their website here and download the Windows version.

So, the first step to install PHP on Windows is to get XAMPP from Apache Friends.
