Open Menu > Laragon > Startup file: user.cmd, add cmd /c start http://localhost
Every time you run Laragon, it will open Terminal and execute the code --> call browser to navigate to http://localhost
:: use this file to run your own startup commands
:: use in front of the command to prevent printing the command
:: call %GIT_INSTALL_ROOT%/cmd/start-ssh-agent.cmd
:: set PATH=%USER_DIR%\bin\whatever;%PATH%
cmd /c start http://localhost
I already tried different email address but still nothing.
Here's my php.ini [mail function] codes:
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
; sendmail_from = firstname.lastname@example.org
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; sendmail_path =
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail().
; mail.force_extra_parameters =
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
mail.add_x_header = On
; The path to a log file that will log all mail() calls. Log entries include
; the full path of the script, line number, To address and headers.
; mail.log =
; Log mail to syslog (Event Log on Windows).
; mail.log = syslog
Thanks in advance for the help.
Update: Perfectly works on my laptop but not on my freshly installed Windows 10 desktop (PC), I don't know what's going on.
I tried to put success and failed indicator on the script (the if/else):
How can I disable or change the shortcut?
It conflicts with PHPStorms "Surround with" shortcut, which I could change in PHPStorm, but don´t want to.
It would be nice if the shortcould could be made configurable.
I have setup several wordpress websites using laragon,
Suddenly, I cannot access them and my navigator returns the following error:
Warning: mysqli_real_connect(): (HY000/2002): Aucune connexion n�a pu �tre �tablie car l�ordinateur cible l�a express�ment refus�e. in C:\laragon\www\myWebsite\wp-includes\wp-db.php on line 1490
Error establishing a database connection
How can I resolve my problem without damaging existing databases?
2.1.2 works fine on my computer but it confused me at first; specifically I installed over my current Laragon installation.
The relevant files (e.g. Nginx as I'd used the Nginx version) were installed but the application installer didn't seem to replace the installed laragon.exe as it claimed I only had apache.
I'm not sure of the fix here but maybe the installer could do something like:
"It looks like you've already installed Laragon at SOME_PATH - this is not recommended!"
"Do you really want to blow away the current installation at SOME_PATH?'
In other words I'd downloaded the new 2.1.2 Nginx full version and installed It over version 2.0.X (I think) but the installer didn't have the expected results. I did then install it to an entirely different directory and it works fine so there's nothing wrong with the installer as such.
Hi there. I tries install php mongo db extension. But I've got such error
Warning: PHP Startup: Unable to load dynamic library 'ext\php_mongodb.dll' - ═х эрщфхэ єърчрээ√щ ьюфєы№.
in Unknown on line 0. Help please
I'm new to Laragon. Installed it and tried to run it but I'm facing an error.
Where can this log be found? Only log I was able to find was the install log.
I've tried different ports, running it as administrator, different install paths but same problem.
I'm running windows 7.
Any help would be appreciated. Thank you
I wonder if the default forum when making a post could be changed from Announcements to something else (general discussion maybe)? It's caught me out twice and I would suppose that "Announcements" are usually the lowest amount of posts.
After starting all in laragon. I tried to open terminal provided in laragon. But it is not opening. Although was opened before.
Now if i uninstall and install again it open easily.
But after a day it behaves like same before terminal do not open.
I tried by reloading apache but it is not working. Even i stop and start again and again but problem persists.
Hi, I am trying to run PHPStorm with Laragon on Win10 and I have a problem to set up my Run-configuration.
Chrome says: Bad gateway when I try to run my index.php.
Where should I place my project? In PHPStorms default directory or C:\laragon\www
What do I need to configurate in PHPStorm respectively Laragon to make this work?
When I attempt to change the default directories it throws a success message but the input box stays the same "C:\laragon\www" and "C:\laragon\data". If I start the server it works properly and when I initiate the cmd it defaults to C:\laragon\www. I've formatted my PC twice and it has the same behavior.
I just downloaded the latest version, and after install I anted to switch to 64 bits versions.
Php & Apache: Before I can change both of them I get a message saying that 32 bits from one and 64 bits for the other don't work. I understand this, but I cannot change both to 64 bits before getting this message.
A suggestion: Why not change immediately to 64 bits whenApache or Php or Mysql is changed to 64 bits?