As you know seting CRON jobs are pain on windows. Is there a way to make it easy with laragon?
And for example on laravel you can create queue's as you know,
When you want to use need to run artisan command(s) and in real world example (as far as i know) on linux systems you need to set up supervisor service's for this type of things.
If is it possible laragon has able to handle with these it would be awsome ?
Blueprints for WordPress like "Local" (created by flywheel, if you can view a example of this feature). This option can create other fast installation from a original WordPress install (for example for test anymore without break the actual development). This option will copy all actual WP structure and database.
I am running a project which has php and java , java coding run on tomcat for which i have to use eclipse and for php coding i am using laragon apache server + mysql server for both .
please help to config tomcat in laragon
However, Laragon makes Procfile more convenient to use with GUI. On Laragon all processes on Procfile will be displayed on Menu > Laragon
Some other differences on Laragon are:
A process name can have spaces. For example: My Cool App
You can add autorun to make the process auto triggered when Laragon starts
You can hide (don't show Console) a process if you quote its command. For example: "php artisan serve"
You can set PWD=xxx - xxx is Path of current processs
You can have env_file=yyy - yyy is Path to your Environment File.
Here is format of a Procfile:
; Program Name: autorun COMMANDS env_file=PATH_OF_FILE pwd=PATH_OF_WORKING_DIR ENV_VAR1=VALUE ENV_VAR2="VALUE WITH SPACE"
; Program Name: Will be displayed on Procfile or Tools' Menu (can contains space)
; autorun: Your COMMANDS will be run automatically when Laragon starts
; COMMANDS: A command or a series of commands (separated by & )
; env_file: You can set environment variables directly or put them to the file
; PWD: Current working directory - where the COMMANDS run
; My Cool App: autorun node start $PORT PORT=9000 env_file=usr\my_file.env PWD=usr/proj/myapp DB_HOST=22.214.171.124 DB_PORT=9999 DB_USER=user DB_PASS="!$Ab.cs3cre1" DB_NAME=cooldb
; Awesome Tool: "PATH HAS SPACES SHOULD BE QUOTED LIKE THIS"
pwd is case-insensitive.
autorun is case-insensitive.
Your env_file may look like this:
VAR1="VALUE WITH SPACE"
Disk space is not problem, but opening all log files with code/text editors. Almost impossible when log files are several hundreds MB.
I understand need for live servers, online servers and keep so huge log files. In case of for instance hacking you could check logs from months ago. And some other cases.
But when Laragon is used on localhost so huge log files are absolutely not needed. Do you have a problem with some website ? Just refresh this website, front-end or back-end. Open log files and read what problem is. Theoretically it is enough with log files of 1-5 MB in size. When developing websites you are only interested in latest log lines.
How to delete log files when they grow to one size, and continue making new one, and on and on ?
I tried "rotatelogs". Works somehow, but activate several new windows processes. And cannot delete old log files. So if you forget (and you will) you have this installed and set, subfolder with logs will have a chaos of new log files.
I was using Xampp for local development until about a year ago when I found Laragon & I haven't looked back since. This is seriously the most powerful local development tool I have in my entire "developer toolkit".
I started working for a new company about 2 months ago & their entire team was using various setups for local dev and were always encountering problems. Setting up a new project locally was always a nightmare for them due to mysql version conflicts, having to change php versions, etc. When I introduced Laragon to them, they were amazed at how easy it was to install, maintain and how flexible it was to update/switch their dependencies. My manager told me that since the team has started using Laragon for local dev, project setup time has gone down from an average of 6 HOURS, to less than 30 mins. AMAZING.
In the opensource community, people sometimes forget the amount of time, effort and hard work that goes into creating something like this. So the reason why I'm posting this is just to say thank you to @leokhoa for developing & maintaining such an incredible piece of software. Your amazing efforts are very much appreciated!
Hi - so I upgraded to Laragon 4 and used the quick install for PostgreSql. I added an empty database from pgAdmin and once I got it to allow me to click the "restore" button I tried restoring an existing database. (I'm new to PostgreSql)
But I get an error dialog with "The program can't start because python36.dll is missing from your computer".
I've restarted and then done a separate install of Python to the computer plus a restart, but same error.
FYI: the quick install of PostgreSql seems to miss anything to do with setting a password, or showing a dialog to add one - I got stuck till I added my own "pgpass.conf" file in the PostgreSql directory.
First - using Apache. On the computer where Laragon is installed, I can access 192.168.1.5 or local host, resulting in the browser displaying the Laragon page. Again on the same computer if I use either 192.168.1.5 or localhost followed by /dev1 I can access the Wordpress site and log into it. But I have not been able to figure out how to access those on other computers on the LAN.
Secondly - using Nginx. On the computer where Laragon is installed, when I switch to Nginx the browser cannot connect to 192.168.1.5 or localhost at all. Neither can other computers on the LAN.
So the question is two part... how do I get LAN computers to connect when using Apache and how can I get anything to work when using Nginx?
When i am trying to load the page it is giving blank page nothing is loading. It is already working code in xampp in another workstation, but i tried locally in my workstation locally not loading anything loading blank white page. Even in console i am not getting any errors.
Please suggest me