Ask Sawal

Discussion Forum
Notification Icon1
Write Answer Icon
Add Question Icon

How to install xampp in win 10?

4 Answer(s) Available
Answer # 1 #
  • Step 1: Download.
  • Step 2: Run .exe file.
  • Step 3: Deactivate any antivirus software.
  • Step 4: Deactivate UAC.
  • Step 5: Start the setup wizard.
  • Step 6: Choose software components.
  • Step 7: Choose the installation directory.
  • Step 8: Start the installation process.
[5]
Edit
Query
Report
Garance Freudenthal
Staff Writer
Answer # 2 #

Software components of XAMPP:

Steps to install XAMPP on Windows:

Note: Suppose Apache is not starting, it means some other service is running at port 80. In this case, stop the other service temporarily and restart it.Making server request: Open your web browser and check whether the XAMPP service has properly installed or not. Type in the URL: http://localhost. If you are able to see the default page for XAMPP, you have successfully installed your XAMPP Server.To Check if PHP is Working: All the website related files are organized in a folder called htdocs and then run index.php file by using http://localhost/index.php or http://localhost.Note: For every new website or application, its always better to create a different folder inside htdocs, to keep it organized and avoid confusion.For example, if we create a folder geeksforgeeks and then create a file named as ‘helloWorld.php’. All the contents related to it are put inside the folder ‘geeksforgeeks’. So the root ‘URL’ of the website will be ‘http://localhost/geeksforgeeks/’. So any home page is accessed by typing the root URL in the browser. To see the output, just type ‘http://localhost/geeksforgeeks/helloWorld.php’.Generally web servers look for index file (landing page) namely index.html or index.php in the root of the website folder. Go to /xampp/htdocs/ folder and create a file with .php extension (test.php) and type or copy the below code and save it.

[3]
Edit
Query
Report
Johann Skelley
Medical Case Management
Answer # 3 #

If you are a web developer or trying to get into blogging, XAMPP will save you time and frustration manually installing and configuring Apache, MySQL, PHP, and Perl to create a testing environment on your device.

In this guide, you’ll learn the steps to install XAMPP on Windows 10, as well as the instructions to configure the web environment and fix common problems after the setup.

To download and install XAMPP on Windows 10, use these steps:

Once you complete the steps, the XAMPP Control Panel will launch, and you can begin the web server environment configuration.

Alternatively, you can install XAMPP using the Windows Package Manager (winget) using Command Prompt.

To install the latest version of XAMPP on Windows 10 with the winget command, use these steps:

After you complete the steps, the package manager will download the package from the specified source, and it will proceed to install the application. The device may restart automatically during this process. The installation will set up the app inside the C:\xampp folder.

The XAMPP Control Panel includes three main sections. In the Modules section, you will find all the web services available. You can start each service by clicking the Start button.

When you start some of the services, including Apache and MySQL, on the right side, you’ll also see the process ID (PID) number and TCP/IP port (Port) numbers that each service is using. For example, by default, Apache uses TCP/IP port 80 and 443, while MySQL uses TCP/IP port 3306.

You can also click the Admin button to access the administration dashboard for each service and verify that everything is working correctly.

On the right side, there is a list of buttons to configure various aspects of the control panel, including the Config button to configure which modules will automatically start when you launch XAMPP.

Clicking the Netstart button will give you a list of services currently accessing the network, including TCP/IP address and port and process ID information.

In addition, there are also quick access buttons from the control panel to open the shell command-line utility, XAMPP installation folder, services, and close the app.

Lastly, you get the logs section to glance at what happens every time you start a module or change a setting. Also, this is the first place to look when something isn’t working.

The default settings should work for most people using XAMPP to create a testing environment to run a website. However, depending on your setup configuration, you may need to change the Apache server’s TCP/IP port number, the database upload size, or set the password for phpMyAdmin.

You’ll need to use the Config button for the corresponding service to change these settings. For example, you’ll need to open the httpd.conf file to change the settings on the Apache server and the my.ini file to change the MySQL settings.

The XAMPP installation is very straightforward, but Windows 10 sometimes may not allow the Apache server to run. Usually, it’s because the World Wide Publishing Service is running on port 80 on your computer, which also happens to be the default TCP/IP port that Apaches uses on XAMPP. And two applications can’t use the same networking port.

If you run into this issue, there are a couple of ways to get around it. You can uninstall the publishing service or change the default port on Apache.

If you do not have any app depending on the World Wide Web Services feature, you can uninstall it with these steps:

After you complete the steps, Apache should be able to run in port 80 on your device.

Instead of removing the World Wide Web Services, you can configure Apache to run on a different TCP/IP port.

To change the Apache listening port on XAMPP, use the steps:

Once you complete the steps, the Apache server should run without issues on the new TCP/IP port specified.

The only caveat with this configuration is that you’ll need to append the TCP/IP port number on the address whenever you want to connect to your website. For example, to access the Apache server on the web browser, you will need to type: “localhost:81/dashboard” instead of “localhost/dashboard.”

Another way to fix the port problem is to stop the service and change its settings to start the service manually (only).

To change the World Wide Web Publishing Service, use these steps:

The best way to get Apache working again is by uninstalling the World Wide Web Publishing Service. However, you can change the TCP/IP port number or stop the service as necessary when that is not possible.

Another common problem with XAMPP is the default database upload limit. For instance, developers often will copy a website for troubleshooting purposes or work on-site without disrupting the live website. However, people using WordPress or another content management software will quickly find out that they can’t upload a database because it exceeds the maximum permitted upload size, 2048 KiB.

To increase the database upload limit on phpMyAdmin, use these steps:

Once you complete the steps, you should now be able to import large database files on phpMyAdmin.

By default, phpMyAdmin (MySQL) uses “root” as a username without a password, which means that if you are installing a WordPress site when asked, you only need to enter root as the username and leave the password field empty.

To change the phpMyAdmin password on XAMPP, use these steps:

After you complete the steps, if you try to login to phpMyAdmin, you might get an access denied message: “Cannot connect: invalid settings.”

In the rare case that you’re having problems signing into phpMyAdmin, you’ll need to configure the config.inc.php.

To change the configuration settings in the config.inc.php file, use these steps:

Once you complete the steps, you should be able to log in to the phpMyAdmin dashboard.

[1]
Edit
Query
Report
Gavin Jayalalithaa
ENGRAVER MACHINE
Answer # 4 #

To install XAMPP on your PC go to: https://apachefriends.org and click on the XAMPP for Windows link. The download will start automatically. Once the download has completed, go to your Downloads folder and double-click on the installer to start the installation. Follow the instructions to install XAMPP.

[0]
Edit
Query
Report
Radhakant Hinge
COTTON WASHER