I have used laravel before and now when I heard about laragon I thought I give it a try because I hate the whole vagrant and homestead part.... I am using forge to deploy code to a droplet/server on digital oceans as recommended.
I have made a gitrepo of my project in laragon/www/gitrepo(project)
I have everything setup on forge with the meta /public. The site shows nice on project.dev locally. When I put it up on the internet I get:
Warning: require(/home/forge/project.com/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /home/forge/project.com/bootstrap/autoload.php on line 17
Fatal error: require(): Failed opening required '/home/forge/project.com/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/php') in /home/forge/project.com/bootstrap/autoload.php on line 17
So I just installed Laragon for the first time and created new laravel project called test. It's working just fine and i can visit it and share it. Now I created new project but I cannot visit it on .dev for some reason. Tried stopping everything, reloading, but nothing helps
Vagrant with homestead was supposed to be the best and easiest way to deal with laravel development in Windows 10, but I quickly found issues with the lack of symlink support, with cross-env related crashes again and again. Now I've found laragon. Does laragon have a better way of dealing with symlinks, if the files are stored in Windows as well?
So im working on a SPA with Vue and want to make a axios request on the server (Laravel). The Cors problem between Vue and Larave has been taken care of.
This App should then send a Guzzle Request to another Application of ours (vanilla Php). When im doing this from the Laravel App with a console command everything works as expected.
However when im doing this in the browser (so from the SPA) everything works until the Laravel App sends the request to the plain PHP Server. Before entering the first line of php everything breaks and nginx crashes. The request is pending forever. I have to restart nginx to use it again.
When im doing the request to the plain Php App directly from the Vue SPA (axios) everything is working as it should. Only when there is a 3rd party involved everythings breaks down on the 2. request.
Maybe i need to send some Headers? Do have to tweak nginx? Something else?
Hi, I've installed laragon-wamp 3.3.1 and when running npm install commando I get the error:
gyp ERR! stack Error: Can't find Python executable "D:\laragon\bin\python\python-3.6.1\python.EXE", you can set the PYTHON env variable.
Then I've instaled the laragon-django and added the Laragon variables to both user path and system path (each try), changing the Python version, deleted the npm folders on .roaming but the error persists.
Is there a way to get overpass this?
With the version 2.2.2 I was able to run the command without problems.
I am an old v2.* users and I just switched to Laragon 3.1.1. I encountered some issues:
In Preferences, I am trying to change Document Root from D:\Laragon\www to D:\Web and Data Dir from D:\Laragon\data to D:\Data : but when I close and reopen Preferences panel, the original directories are restored. Please notice that in laragon.ini the DocumentRootList=D:\Laragon\www|D:\Web| (right, I can switch directories in the GUI) and, in the [apache] section, DocumentRoot=D:\Web (right). I don't see parameters about the MySQL Data Dir in laragon.ini. Please notice also that I copied the whole D:\Laragon\data\mysql folder to D:\Data\mysql, just to be sure to replicate the original folder structure.
In laragon.ini, [ngix] section, DocumentRoot=D:\Laragon\www\ while I'd expect it to be D:\Web\ accordingly to my changes
Hello guys, I am trying to open laragon to use, but the program doesn't work.
It just appears an alert saying:
"Sevice apache can not start: Only one usage of each socket address (protocal/network/port) is normally permitted .... "
I tried to create a controller with php artisan but the terminal says something like this
$ php -v
bash: php: command not found and when I type laravel and it says something like this :
which: no php in (/c/Users/AiB.ICD-PC/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/mingw64/bin:/usr/bin:/c/Users/AiB.ICD-PC/bin:/c/laragon/bin/cmder/vendor/conemu-maximus5/ConEmu/Scripts:/c/laragon/bin/cmder/vendor/conemu-maximus5:/c/laragon/bin/cmder/vendor/conemu-maximus5/ConEmu:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static:/c/xampp/php:/c/ProgramData/ComposerSetup/bin:/c/xampp-2/php:/c/Program Files/nodejs:/cmd:/mingw64/bin:/usr/bin:/c/Users/AiB.ICD-PC/AppData/Roaming/Composer/vendor/bin:/c/Users/AiB.ICD-PC/AppData/Roaming/npm:/usr/bin/vendor_perl:/usr/bin/core_perl)
Can someone help me to modify my laragon installation from php-cli version to apache mod.
I have an application that needs apache mod php version and that i can't change. How hard is it to modify a native laragon cli (not nginx) to an apache mod version?