Xampp Open Localhost

20 Jul Run your first PHP program in XAMPP Server on localhost

Aug 17, 2016 URL for xampp localhost. Replies: 10; Open Not stickied Answered 9. Forum posts: 77. Add insert the user data to xampp mysql database. — modified on Aug. Localhost ⚯ XAMPP ⚯ phpmyadmin ⚯ localhost:8080 ⚯ localhost:8888 ⚯ localhost:3000 ⚯ localhost:8000 localhost/xampp open Localhost.

Beginning with PHP is quite easy. If you’re a beginner, then this post is for you, and will make you feel comfortable in running PHPprogram on XAMPP Server. Begin developing your website on localhost, and then move forward and upload the website live, with a domain name and hosting account.

Let’s start with installing XAMPP, and running first PHP program using XAMPP Server on localhost. Following are the steps:

  • Download and Install XAMPP
  • Create a new project in XAMPP and add your PHP program
  • Open XAMPP and run your first PHP program

Xampp Open Localhost Password

Download and Install XAMPP

Step 1: Go to the Apache Friends website and download XAMPP Server. Apache Friends is the official website to download XAMPP:

Step 2: After downloading, install it.

You can install it at any location. We installed XAMPP ic C: drive,


Xampp Open Localhost Server

Create a new project in XAMPP

Step 3: Now, go to htdocs folder in Xampp folder and create your project folder.

Here, a folder AmitProject created, as in the below screenshot:

Step 4: Now, create a file with .php extension. We have created a file with name, FirstProgram.php.

Localhost Welcome To Xampp

Add the following code in it,

Open XAMPP and run your first PHP program

Step 5: Go to start button, and type Xampp Server to open it.

This will open Xampp Server- Control Panel. After opening it, just click Start on Apache to start the server:

Step 6: Now, go to the Web Browser and type, localhost/AmitProject and press enter.

On pressing enter, you can see the following, locate your PHP file FirstProgram.php and click on it:

Saver Read reviews and buy Gretna Bath Collection - Threshold™ at Target. Choose from contactless Same Day Delivery, Drive Up and more.

Step 7: Just press enter in the address bar,and you can see the output of your first PHP program FirstProgram.php:

We saw how to run a PHP program using XAMPP Server on localhost. A step by step process to create a new PHP program file and run it to get the output.

Here’s the video, explaining the steps shown above,

Note: You do not have to START Apache Server again and again. But, yes, if you “shut down” and “restart” your system, then there is a need of starting the server again.

Hope you liked the tutorial, kindly share it with others.

If you have any query, then please mention in the comments section below.

Read More

  • Attempt Online PHP Quiz
Xampp open localhost file

Credit to this website: https://www.thakkarworld.com/localhost-website-android-phone.html

When we build a page/website in localhost/local PC using XAMPP or WAMP server, we only can access it only in our computer. We type localhost or our IP in a browser, then our webpage will appaear.

But how to access it from our phone through our WIFI network or hotspot ? Here in this article, I will provide complete guide on How you can open localhost website on your mobile phone?

Localhost Xampp Index

Suppose the environment is:

  1. WIFI network – mobile hotspot
  2. PC as localhost – XAMPP server is installed. You can refer to my last tutorial for installed XAMPP:

Step 1: Open the Download the XAMPP Installer:

  • First of all, I assume that you have tested your website completely on desktop and working fine using XAMPP server in localhost.
  • On the XAMPP papel, click the bar Config and bar go to XAMPP -> Apache-> httpd-xampp.conf and edit the file or C:xampp_newapacheconfextrahttpd-xampp.conf.
  • You can opened it by editor like Sublime Text 3.
  • In the file find the text “Require localhost” and replace it with “Require all granted”. Now save and close the file.
  • Restart XAMPP Server by click stop and click start again.

Step 2: Create inbound and outbound in Windows firewall

  • Open control panel and search windows firewall in upper right corner search box. Now open windows firewall from search results. On the next screen click on Advanced settings in the left sidebar links.
  • In Windows firewall screen, Click on Inbound rule. As per below image click on New Rule which is located in right sidebar. It will pop up new screen to configure the inbound port.
  • In the configuration wizard, Select Port as per above image in Rules type page and click next.
  • Now Select Port type as TCP and specify port on which your Apache server is running and click next button. In my case it is 80 so i have provided 80.
  • Select “Allow the connection” action as per below image and go ahead with next screen.
  • Now provide name of Rule and description and finish the configuration wizard.
  • Now Inbound rule is created in windows firewall and using same steps you can go ahead

Step 3: Check the localhost IP by type ipconfig

  • Open the cmd and run as administrator.
  • Type the: ipconfig
Xampp Open Localhost

Step 4: Test the connection on PC and Mobile app of the IP


  • Open any browser and type the IP : Example:
  • The result will be shown as below.


  • Open any browser and type the IP : Example:
  • The result will be shown as below.

I hope above guide is helpful to all of you and you are able to open your localhost website/blog on mobile device as well.

Share this awesome article to your friends as well.

Have a nice day.