B4J Tutorial [WebApps] Using Laragon as your development web server

Mashiane

Expert
Licensed User
Ola

I just ran into this link, https://www.keycdn.com/blog/web-development-tools

And besides XAMPP, which I have been using for my personal web development projects, there is Laragon.

With XAMPP, I remember I had to manually edit my php.ini file to locate the extension for SQLite3 to be active and restart tha apache webserver.

The ease of Laragon is rather impressive. I downloaded the full version, this has options to install an 18MB file (minimum install) or the 130MB full install that comes with MySQL, NodeJS, HeidiSQL and some other niceties.

sqlite.jpg


I installed it, updated PHP and then selected the Menu > PHP > Extensions > sqlite3, this activated the extension and reloaded the server.

So in my BANano App, I changed the build folder from "C:\xampp\htdocs" to "C:\laragon\www"

laragon.png


We are up and running...
 

Mashiane

Expert
Licensed User
Using laragon with SSL.

Laragon comes with SSL functionality that you can activate.

First, you need to ensure that the SSL files are copied.

1. Find these files under your apache folder of laragon, this could be C:\laragon\bin\apache\httpd-2.4.35-win64-VC15\bin

1614275461294.png


2. Copy them to C:\laragon\bin\laragon\utils

3. Open laragon and open settings.

1614275572106.png


Check SSL 443 Enabled.

4. Reload the laragon

5. In your browser, type in https://localhost, this should now be secure

1614275663582.png


Good luck!
 

aeric

Expert
Licensed User
I just knew that Laragon 5.0 was released 2 months ago. I am still using version 4.0.16.
 
Top