Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
24 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 ...
Hassan's user avatar
  • 586
0 votes
1 answer
70 views

How to access a Laravel Herd app from inside a docker container?

I have multiple apps running with Laravel Herd (let's say myapp1.test and myapp2.test). I want to test the functionality of a service by having it run in docker. That service needs to access an ...
Sammy Bessette's user avatar
0 votes
0 answers
94 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 ...
TerryMatula's user avatar
  • 1,264
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',...
Matiullah Karimi's user avatar
-1 votes
1 answer
501 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, ...
eComEvo's user avatar
  • 12.5k
0 votes
0 answers
126 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 ...
Miraj Mohajireen's user avatar
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/...
Strong Like Bull's user avatar
0 votes
1 answer
400 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 ...
Leslie Joe's user avatar
0 votes
0 answers
121 views

PHP ARTISAN TINKER is not responding and always shows an error

I am quite new to coding and trying to learn LARAVEL, now I am creating basic tables, factories, and models. As a terminal, I use Git Bash, for code editor VSCode, and for LARAVEL I use HERD on ...
Ornok's user avatar
  • 1
1 vote
1 answer
588 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 ...
e-Tester's user avatar
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 ...
anas ali's user avatar
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 ...
Hamisu Kimson's user avatar
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 ...
Cornel Verster's user avatar
0 votes
0 answers
409 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 ...
F. Mukwevho's user avatar
0 votes
0 answers
125 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), ...
Morgy's user avatar
  • 666
0 votes
1 answer
377 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 ...
Amir Vahedi's user avatar
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 ...
Samuel Oshio's user avatar
0 votes
0 answers
187 views

"Issue Installing Laravel Homestead on Node.js - NVM Not Working

I'm encountering a problem while trying to install Laravel Homestead on Node.js. Specifically, the NVM (Node Version Manager) doesn't seem to be working as expected. I've followed the installation ...
Abdullah Al Shahed's user avatar
0 votes
1 answer
884 views

PHP extensions (like `mongodb`) is not loading for a specific PHP version (e.g., 8.1) enabled by Laravel Herd on macOS?

I'm using Laravel Herd on macOS with multiple PHP versions managed by Herd (7.4, 8.1, 8.2, 8.3). I verified that PHP 8.1 is active using php -v. Following the Herd documentation for adding extensions (...
Muhaimenul Islam's user avatar
0 votes
0 answers
260 views

Laravel Herd all URLs rewritten to index.php but a rewrite to another file neeed

Laravel Herd by default tries to rewrite all URLs to point to the index.php file. If I have a rule like rewrite ^/test/([0-9]+)$ /index.php?id=$1; it works, but rewrite ^/test/([0-9]+)$ /test.php?id=$...
kataba's user avatar
  • 170
0 votes
0 answers
52 views

How to display ECHO real-time outputs in the browser Xdebug?

The real-time outputs are only displayed in the PhpStorm "Output" tab, and only when the script finishes does it display the result in the browser. This setup didn't work for me: ...
Jorge Gatica's user avatar
0 votes
0 answers
704 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 ...
SystemF's user avatar
  • 11
-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 ...
Dylan Glockler's user avatar
3 votes
2 answers
1k views

Laravel Herd Nginx always redirect 301 when local site development is secured using herd secure and shared to public with ngrok

I'am new in using herd and I have this problem with sharing my laravel project using ngrok, since my project is using https, when shared using herd unsecure, my site got mixed content error, that ...
kyurusai's user avatar
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 ...
ImBIOS's user avatar
  • 1,057
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 ...
Rvervuurt's user avatar
  • 8,913