Home » Laravel | XAMPP Installation

Laravel | XAMPP Installation

by Online Tutorials Library

XAMPP Installation

The following are the steps required to install the PHP environment:

XAMPP Installation

  • Download the PHP 7.3.9 version. To download this version, click on the Download button.
  • Click on the file, i.e., xampp-windows-x64-7.3.9-0-VC15-installer.exe to install the XAMPP.
  • When you click on the downloaded file, the screen appears shown below:

XAMPP Installation

  • Click on the Yes button.
  • After clicking on the Yes button, the warning appears, but ignores this warning and click on the OK button.
  • On clicking the OK button, the Setup window appears shown as below:

XAMPP Installation

  • Click on the Next button.
  • Select the components in the below screen, and then click on the Next button.

XAMPP Installation

  • Select the folder in which you want to install your XAMPP and click on the Next button.

XAMPP Installation

  • Click on the Next button.

XAMPP Installation

  • The below screen shows that the setup is ready to install, click on the Next button.

XAMPP Installation

  • The installation process is started, which is shown in the below screen:

XAMPP Installation

  • When the installation is completed, the screen appears asking for the completion of a XAMPP Setup Wizard.

XAMPP Installation

  • Click on the Finish button.
  • Select the language and then click on the Save button.

XAMPP Installation

  • After selecting the language, the XAMPP control panel appears shown as below:

XAMPP Installation

In the above panel, you can either start or stop the Apache, MySQL. When we run the Apache then we will get an error that port has been blocked or have some missing dependencies. In such a case, we need to provide some unique port.

Following are the steps required to provide the unique port:

  • Click on the config button and then click on the Apache(httpd.config) file.

XAMPP Installation

  • Update the port number, i.e., 80 with some unique number. Suppose I provided 3000 port number, so replace all the appearances of 80 port number with the 3000 port number.

XAMPP Installation
XAMPP Installation

  • Click on the Apache(httpd-ssl.config) file.

XAMPP Installation

  • Update the port number, i.e., 443 with some unique number. Suppose I provided 1443 port number, so replace all the appearances of 443 port number with the 1443 port number.

XAMPP Installation
XAMPP Installation

  • Click on the config button.

XAMPP Installation

  • When you click on the config button, the screen appears shown below:

XAMPP Installation

  • Click on the Service and Port settings, the screen appears shown as below:

XAMPP Installation

  • Change the main port from 80 to 3000 and SSL port from 443 to 1443.

XAMPP Installation

  • Click on Save button.
  • Now, start the Apache server.

XAMPP Installation

The above screen shows that Apache server has been started with the port (1443, 3000) where 3000 is the main port and 1443 is the SSL port.


You may also like