Laragon Crash Course - Local Dev Environment With SSL
HTML-код
- Опубликовано: 11 июн 2023
- Laragon Tutorial - How to setup a local dev environment with SSL by using Laragon. How to install WordPress locally. How to install Laravel. Install multiple versions of PHP and Node.js. Change server from Apache to NGNIX.
#laragon #wordpress #laravel #php #ssl #localhost
phpMyAdmin: www.phpmyadmin.net/downloads/
PHP: windows.php.net/download/
MySQL: downloads.mysql.com/archives/...
Node.js: nodejs.org/en/download/current
Twitter: bitartem
00:00 - Intro - What is Laragon
00:40 - How to Download Laragon
01:35 - How to install Laragon
02:06 - General settings overview
05:20 - How to create a blank project
06:27 - How to install WordPress
07:25 - How to install Laravel
08:05 - How to delete project
08:25 - How to clone/copy project
09:05 - Add a custom framework to Quick Apps
10:35 - Install local SSL certificate
11:58 - Install phpMyAdmin
12:47 - Change the Root user Password
13:50 - Add multiple versions of PHP
14:48 - Add multiple versions of MySQL
15:50 - Add multiple versions of Node JS
16:47 - Customize PHP Settings
17:34 - Install PHP extensions
17:50 - Start NGNIX server
18:37 - Share your project with ngrok
20:27 - Where to find hosts file
20:55 - Make PHP and Node JS available globally Наука
Great tutorial, after many years of searching, I still think that Laragon is the best free local dev environment app available
First upload on Bitartem's RUclips channel 🚀🚀🚀
Cool, keep uploading PHP Dev videos.
Thanks, new videos coming soon
helped
Thank you, i have been getting errors from xampp for over a year. just have to switched to laragon
I believe you'll enjoy it
very useful thank you
Good My Brother verry verry good Thank you Brother
Thank You
great great video, I actually signed in just to subscribe (extremely rare). thank you for putting such a helpful video together. I decided to do a fresh install of Windows (been using Ubuntu for about 2 years - which I installed the same day I started learning how to code) but felt a bit lost trying to get the environment setup on windows, this video was extremely helpful AND it also answered the specific question I had (path section at the end).
THANKS!
Thank you for your kind comment ;)
Thank you very much, you are the best, you helped me a lot ❤
Best tutorial.Thank you kindly 🥰
oh my god , very very very thank you , this is awsome
At 17:55 you showed how to run nginx. I know very little about it. I noticed that you did not turn off Apache. Could you elaborate on this? It is possible to run both at the same time? How did your app know to use port 8080? Thank you.
Hi, thanks for the question, to be honest, I forgot to disable Apache when recording the video, but lucky for me, you can run both Apache and Nginx (as far as I understand) in Laragon at the same time, but when Nginx is enabled (alongside with Apache), and you open your local site from Laragon menu (like I do in the video) it defaults to Nginx, I guess it's just a default behavior of Laragon.
However, if Apache is disabled and only Nginx is running, when you manually enter your site address/url in browser, you have to explicitly specify the port number which is 8080 for Nginx, otherwise it won't load. But if you access it from Laragon menu it will automatically add 8080 as the port number.
If my answer is not 100% clear for you, let me know and I'll try to explain it better.
What are the alternatives to share projects with tour client
Hi, thanks for the question, nowadays there are lot of VPS providers under 5$ like, Kamatera for example (it's free for one month for new accounts), if I had to share ongoing project with client I would prefer to host it somewhere, as services like ngrok only works when your computer is up and running. There's also some ways to host Laravel application for free (checkout koyeb.com). In addition you can read this article: darkghosthunter.medium.com/hosting-laravel-for-free-78dbab674854
Say if i where to need to install windows clean, is there a way to "backup" exciting local website projects?
Thank you for the comment and sorry for a late answer. As far as I know, since Laragon is a very portable software, you can copy and paste the entire Laragon folder (C:\laragon) from one machine to another. But unfortunately I've never tried it. Here you can find some additional information:
github.com/leokhoa/laragon/discussions/445
php.watch/articles/laragon-windows-php#laragon-portable
"Laragon does not use standard Windows Services to start/stop services. When Laragon starts, it looks for PHP/MySQL/Apache/etc directories inside the Laragon directory, and re-configures the configuration files. Laragon handles the start/reload/stop actions of the software it manages.
This makes Laragon portable and isolated from the rest of the system. Laragon is easy to backup, as simple as backing up the Laragon directory (along with the Document Root and MySQL data directories if necessary), and requires no further changes in Windows."