Questions tagged [laravel-valet]

Valet is a Laravel development environment for Mac minimalists

Valet is a Laravel development environment for Mac minimalists. No Vagrant, no /etc/hosts file. You can even share your sites publicly using local tunnels.

Laravel Valet configures your Mac to always run Nginx in the background when your machine starts. Then, using DnsMasq, Valet proxies all requests on the *.test domain to point to sites installed on your local machine.

https://laravel.com/docs/master/valet

272 questions
2
votes
1 answer

Laravel Valet with Apache + dnsmasq

I have Laravel Valet installed and configured to .loc domain (was working just fine) Then I needed Apache server alongside with Laravel Valet, so I followed these instructions: https://getgrav.org/blog/macos-mojave-apache-mysql-vhost-apc I…
4unkur
  • 827
  • 9
  • 14
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
1 answer

Site in Laravel Valet can't find Memcache, but I see the process running—what now?

I have a local WP site that depends on Memcached. The readme says "Use memcached and the PECL memcache extension to provide a backing store for the WordPress object cache." As a far as I can tell, my config meets those requirements. But when I…
jamesfacts
  • 371
  • 2
  • 14
2
votes
0 answers

Installing php 7.2 with extensions on MacOS with Extensions w/o Homebrew

I wish to install php 7.2 on MacOS along with extensions (mentioned below) required to run Laravel - OpenSSL PHP Extension PDO PHP Extension Mbstring PHP Extension Tokenizer PHP Extension XML PHP Extension Ctype PHP Extension JSON PHP Extension I…
TheBigK
  • 233
  • 4
  • 16
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
2
votes
2 answers

Laravel Valet+ all sites yield "undefined function apcu_fetch()"

I did something stupid and while in the middle of a valet use 7.1 process, I pressed ctrl-C. In an attempt to get everything working since then I uninstalled valet+, did a composer global update, a brew update, valet fix, and valet install yet still…
nklatt
  • 31
  • 1
  • 5
2
votes
2 answers

Laravel Valet 404 Error

I have the following in my web.php: Route::resource('/job', 'JobController'); Linked to the controller, I have the usual CRUD methods, and some work so for example going to joben.app/job/1: public function show(Job $job) { // …
iLC
  • 347
  • 9
  • 22
2
votes
1 answer

Laravel Valet sites connection refused on port 80

Ever since Chrome and Safari started forcing HTTPS redirection on the .dev TLD I've been getting issues connecting to my Laravel Valet sites. Without knowing that Chrome and Safari had done this, I updated Valet to from 1.2 and not thinking to check…
Ben
  • 315
  • 4
  • 19
2
votes
4 answers

Laravel Dusk ignores .env.dusk and .env.dusk.local (Using Valet and Laravel 5.5)

I'm trying to run Laravel Dusk and I need to use a test database. When I check the screenshot it says that the database doesn't exist. Problem is that is the database defined on .env and not the one on .env.dusk ... I've tried to rename the file to…
Bruno Teixeira
  • 565
  • 4
  • 11
  • 25
2
votes
0 answers

Can I Rewrite valet requests to laravel app in a subfolder

I have an old codeigniter app that I am maintaining and want to run laravel alongside, develop here and eventually migrate. The file structure is below: /codeigniter /laravel /site -index.php > codeigniter front controller -app -index.php >…
jhodgson4
  • 1,566
  • 3
  • 20
  • 35
2
votes
0 answers

Laravel Valet Timeout on Mac Sierra

Laravel's valet has been working fine till today and now all of sudden I started receiving Timeout error for all of my applications. I completely uninstalled valet and installed again. After installation, I parked my websites and now all I get is…
Saravanan Sampathkumar
  • 3,201
  • 1
  • 20
  • 46
2
votes
1 answer

Not able to enable postgres for php 7.1

I want to enable the postgres and I am not able to. To make sure postgres is installed on my mac I ran the command postgres -V and I can see postgres (PostgreSQL) 9.6.1 as an out put so that confirms postgres is installed. I ran the command php -v…
Saadia
  • 856
  • 1
  • 12
  • 32
2
votes
4 answers

Working with wordpress using laravel valet, unable to increase maximum upload limit

Wordpress keeps stating max file upload limit is 2mb. phpinfo() says the same. Using PHP ver 7+ Have tried changing by creating php.ini and .htaccess files in both root and wp-admin directories. Nothing seems to work. php.ini ; Maximum allowed size…
LaserBeak
  • 3,257
  • 10
  • 43
  • 73
2
votes
1 answer

Laravel Valet Share URL Leads to connection refused

Been trying to share the local site using a temporary url https://xxxxx.ngrok.io running with Laravel Valet. When I run Valet version 1.1.22: valet --version Laravel Valet version 1.1.22 securely the ngrok url leads to a connection refused. When it…
rhand
  • 1,176
  • 4
  • 17
  • 45
2
votes
0 answers

Laravel Valet stopped working after update

I get the following errors if I try to access any .dev sites. Warning: file_get_contents(/var/root/.valet/config.json): failed to open stream: Permission denied in /Users/User/.composer/vendor/laravel/valet/server.php on line 23 Warning: Invalid…
LaserBeak
  • 3,257
  • 10
  • 43
  • 73