All Questions
Tagged with laravel-herd laravel
20 questions
0
votes
0
answers
28
views
502 Bad Gateway nginx/1.27.3 Laravel Herd PHP 8.2 macOS Sonoma
I have tried to deploy the Laravel application using Nginx web server. However, I get the 502 Bad Gateway error. What could be the reason? Is it permission issue or something else.
Following code ...
0
votes
0
answers
95
views
How do you make Laravel Reverb work using Herd?
I can't get Laravel Reverb and Echo to work, and I'm not sure how to debug it.
I ran through the default installation and just tried to get a simple message to pass to a page.
Here's my Event:
class ...
0
votes
0
answers
54
views
Laravel Herd file upload fails
I'm using Laravel Herd for my environment setup. Everything works fine but file uploads fail.
I get this error: The logo failed to upload.
validation code: ['logo' => ['required', 'max:255', 'file',...
-1
votes
1
answer
506
views
Laravel Herd doesn't work at all after reinstall
Both Valet and Herd stopped working. No sites would load, just 502 nginx errors.
I tried reinstalling both Herd and Valet, but that did not fix it. So I removed all traces of every version of PHP, ...
0
votes
0
answers
127
views
Debug Laravel App running on Herd with Xdebug
I'm trying to setup debugging for a Laravel app running on my machine (via Herd).
The initial server configuration looks like this:
Then I hit "Start Listening to PHP Debug connections" in ...
0
votes
0
answers
85
views
Laravel Herd does not allow Mongo DB connection
Following instructions on a new Macbook Pro with Laravel Herd. I am able to work fine with MySQL. Adding Mongo DB causes 502 errors. Specifically 504 Gateway Time-out.
Looking at logs I see:
2024/09/...
0
votes
1
answer
402
views
Vite Not Reflecting Changes in Laravel Project with .test Domain
I'm working on a Laravel project and using Vite instead of Laravel Mix for my asset compilation. I also use Tailwind CSS for styling. The Herd app is used to create new Laravel projects, which ...
1
vote
1
answer
590
views
I get error after installation of laravel through HERD
I have installed laravel using HERD but when i go http://127.0.0.1:8000/ to view the installation i get the below error. I have tried to use both mysql and sqlite. It seems to me as though a table has ...
3
votes
1
answer
2k
views
Laravel Herd custom URL sites show "This site can’t be reached"
I'm new to Laravel Herd and not sure what I did wrong, I installed Herd from the main Herd page, on my Windows 10 machine, I installed it with admin privileges just like the docs say and everything ...
0
votes
1
answer
68
views
Laravel valet Permission issue
Warning: opendir(/Users/apple/Desktop/programs/ideas): Failed to open directory: Operation not permitted in /Users/apple/.composer/vendor/laravel/valet/cli/Valet/Server.php on line 167
i have valet ...
0
votes
0
answers
362
views
Laravel - CORS issue on Mac using Herd
I just migrated from Windows to Mac and I'm using Herd to manage my PHP instance and Docker for the MySQL database, and I pulled down and installed a project that I've been working on. I can install ...
0
votes
0
answers
410
views
Running multi-tenant app (Tenancy for laravel) on laravel herd
I have a Laravel app using tenancy for laravel and i initially ran it using php artisan serve and the central domain was localhost:8000 and it worked fine but i recently installed laravel herd to use ...
0
votes
0
answers
126
views
Laravel Herd: upstream prematurely closed connection while reading response header from upstream
I do have Laravel Herd (1.6) installed and Xdebug configured based on Herd's documentation and I'm using PhpStorm as my IDE.
Whenever I run a project endpoint (whether from browser or via API client), ...
0
votes
1
answer
379
views
How to rename public directory in Larvael Herd?
I'm using Laravel Herd for my local development. I need to rename the public folder on my hosting to public_html so it can load my application. After renaming public folder and adding necessary ...
0
votes
1
answer
3k
views
Laravel Herd parked serving sites at http://directory-name>.test not working [closed]
I'm completely new to PHP, Laravel and Herd world. As a matter of fact this is my first bite in trying out things using Laravel chirper project.
Here's overview of my setup in Windows 10.
I started by ...
0
votes
0
answers
705
views
Laravel Herd slow response using external MySQL database connection
I just picked up my MacBook M3 Pro yesterday. Till now I was a Windows user.
I've installed Laravel Herd. It's build upon the Laravel Valet package. It works very good and simple. Out of the box ...
-2
votes
1
answer
2k
views
How can I use Laravel Herd to host a SPA with Inertia and React via npm run dev and a singular database with a second project?
I'm working on a Mac osx m2 and have been developing a Laravel SPA with React (jsx) and Inertia for what will be a client facing portal while I plan to continue to use a Laravel Blade template site ...
3
votes
1
answer
3k
views
Laravel Herd uninstall PHP version
At first, I installed PHP 8.2, but now I need to work with PHP 8.1, Now I installed both. I need to get rid of 8.2 because I haven't use it for too long and appealed to use 8.3 if I need to start ...
2
votes
1
answer
2k
views
Laravel Herd + Wordpress not writing to debug.log
I've just changed to Laravel Herd earlier this week and needed to run Wordpress debugging on a theme I'm developing. This is where I noticed that Wordpress doesn't seem to be creating a/writing to ...