Questions tagged [valet]
86 questions
2
votes
1 answer
502 after installing Herd and going back to Valet
I was excited to try the just released Laravel Herd (https://herd.laravel.com) so i didn't read that there wasn't the pdo_pgsql extension inside (and we can't add it manually).
So i launch it, nothing works on apps with postgresql databases.
I'm…

mchev
- 713
- 1
- 8
- 22
2
votes
0 answers
Access Laravel website with valet in local network
I want to access the website using another device in the same network.
I don’t want to use valet share As it share it publicly.
I have followed the https://laravel.com/docs/9.x/valet#sharing-sites-on-your-local-network and changed the valet.conf…

malozaibi
- 35
- 5
2
votes
1 answer
Valet 502 Bad Gateway
valet is not working after I updated php from 7.3 to 7.4. I already tried to reinstall valet, php, nginx and dnsmasq but it's still not working.
Now the ngix server is running but I can't acces to my projects. I get the error 502 Bad Gateway for…

dfgdghjezfghfgdh
- 21
- 1
- 3
2
votes
0 answers
How to increase more than 5 requests at a time in nginx from the same IP
We have a Laravel application running in local MacOS using valet.
We have a script that takes more than 5 hours(for example) to execute. Now, we want to hit a same url that run that time consuming script from 10 tabs of the browser or using…

Imran
- 4,582
- 2
- 18
- 37
2
votes
1 answer
Communication between a Laravel front website a Laravel API, both under Valet
I have two locale installations of Laravel, one used as a front website and the other as an API, both are parked with Valet. My problem is that it doesn't seem to be able to communicate together, maybe because of Valet. So, I tried the little test…

DevonDahon
- 7,460
- 6
- 69
- 114
2
votes
4 answers
Laravel Valet Installation Failed
I am getting this error while installing valet on my mac machine. Could somebody help?
Nginx cannot start; please check your nginx.conf [1: nginx: [emerg] unknown
directive "http2_push_preload" in /Users/sujitbista/.config/valet/Nginx/dg
…

Sujit
- 61
- 3
- 7
2
votes
1 answer
When serving a non-Laravel project using Laravel Valet, how can I access PHP files in the public directory?
I use Laravel Valet for locally serving multiple Laravel, WordPress and vanilla PHP applications.
I have one specific application that is vanilla PHP that I access via Valet from http://myapplication.test
This application has a /public/index.php…

fylzero
- 460
- 6
- 18
2
votes
2 answers
valet in windows 10
Today I decided to install Valet on Windows 10. But I got this error:
Could not start the phpfpmservice service. Check ~/.valet/Log for errors.
~/.valet/Log has file nginx-error which is empty.
I tried to run valet start with admin privilages but I…
2
votes
0 answers
Project Specific PHP Error Log in Laravel Valet
I just wanted to log PHP errors inside laravel project folder using Valet.
For Example - in Apache2 we can add php error log path (in my case my project folder) in virtual host and every time we add error_log($var); that will log errors inside…

Joel Jerushan
- 645
- 11
- 21
1
vote
0 answers
Not working valet php command to proxy calls on Macbook M1
if I run the command
valet php -v or valet composer install
i am getting an error:
/opt/homebrew/bin/valet: line 158: Fatal: command not found
Other teams are working. The problem is only with the proxy. Suggest options for solving this problem for…

Sanya H
- 213
- 3
- 7
1
vote
1 answer
Laravel Valet - deprecated dependencies in lock file
On running composer global require laravel/valet, illuminate/contracts and illuminate/container are locked to v5.4.36:
- Locking illuminate/container (v5.4.36)
- Locking illuminate/contracts (v5.4.36)
Running any valet command returns a long…

Lluis Mather
- 13
- 1
- 4
1
vote
0 answers
Remove .php extension in nginx using Valet for Windows
Looking to make my links go from example.com/page.php to example.com/page
I'm using Valet for Windows on a static website but can't seem to figure out how to configure my site.conf file, which looks like the following:
server {
listen 80;
…

AJK
- 391
- 9
- 27
1
vote
1 answer
Laravel Valet and subdomains
I have a problem with Laravel Valet and make subdomains of different laravel's projects.
I have a folder called Sites, in this folder I have 3 folders:
myapp
foo.myapp
bar.myapp
Every folder is a Laravel Project unique and different. I try to…

Carloscito
- 373
- 1
- 2
- 16
1
vote
1 answer
Could not find installation path for: apcu valet
I set up valet pro with composer, however, the site threw an error ERR_CONNECTION_REFUSED.
I tried to run valet install and it failed due to valet not finding installation path for pecl. How can I fix this?
[nginx] Stopping
[valet-php@7.2]…

Mantė
- 11
- 2
1
vote
1 answer
Failed to install valet-windows
PS C:\Windows\system32> composer global require cretueusebiu/valet-windows
Changed current directory to C:/Users/user/AppData/Roaming/Composer
Using version ^2.1 for cretueusebiu/valet-windows
./composer.json has been updated
Loading composer…

avcolar
- 11
- 3