Menü schliessen
Created: August 18th 2021
Last updated: August 18th 2021
Categories: IT Development,  Php
Author: LEXO

How to install Laragon and create basic index.php

Tags:  guide,  installation,  Laragon,  PHP
Donation Section: Background
Monero Badge: QR-Code
Monero Badge: Logo Icon Donate with Monero Badge: Logo Text
82uymVXLkvVbB4c4JpTd1tYm1yj1cKPKR2wqmw3XF8YXKTmY7JrTriP4pVwp2EJYBnCFdXhLq4zfFA6ic7VAWCFX5wfQbCC

What is Laragon?

Laragon is a portable, isolated, fast & powerful universal development environment for PHP, Node.js, Python, Java, Go, Ruby. It is fast, lightweight, easy-to-use and easy-to-extend.

Requirements

Required OS:

  • Windows 10

Required files:

  • laragon-wamp.exe

Installation

First you have to make sure that your system is up to date and all of the required files are installed.

laragon-wamp.exe

Now to setup Laragon run this file.

  • laragon-wamp.exe

Start all Services

Click on the button "Start All" to run all services:

You will see that all your selected services will start.

How to select more services

Click on the "Settings" button on the top right corner. then go to "Services & Ports", there you can select your services and the corresponding ports.

These are all services:

  • Apache                           (80)
  • MySQL                            (3306)
  • PostgreSQL                    (5432)
  • Nginx                              (8080)
  • Memcached                  (11211)
  • Redis                              (6379)
  • MongoDB                      (27017)

Now if you click on Web, you will see, that you get on your localhost site.

It should written (in big letters): Laragon 
                                  Getting Started

Now you can start programming your "Hello World"

Hello World

If you open your Laragon folder, you should see this files:

  • index.php

index.php

Open the index.php

Now you see the code for your localhost site that you've seen before.

 

How to change "Laragon" in to "Hello World"

  1. Go to the line that says:
<div class="title" title="laragon">Laragon</div>

2. Delete "Laragon" from between the opening and ending tag.

3. Type "Hello World" between the opening and ending tag

4. Go on your locahost site

5.  Reload your localhost site with: Ctrl + f5

Now you can see your Hello World and you are ready to go