laravel-valet

Laravel valet It works

走远了吗. 提交于 2019-12-03 12:29:51
I'm trying to install Laravel valet but I keep getting (when I visit domain.dev): It works! I already tried a lot. For example: remove valet stop apache (apachectl stop) composer global require laravel/valet valet install valet restart But that does not work for me. I've also installed Laravel Homestead in a vagrant box. Perhaps that has something to do with it? I can visit my Homestead sites. How can I fix this problem? "It works!" will always be a message from Apache. Apache has to be turned off for Laravel Valet to work. I see you have tried these before: $ stop apache (apachectl stop) $

brew link php71: Could not symlink sbin/php-fpm

♀尐吖头ヾ 提交于 2019-12-03 11:39:18
问题 I'm trying to install Laravel Valet, which requires php 7.1, but when i run brew install php71, I get the following error: ==> Pouring php71-7.1.10_21.high_sierra.bottle.tar.gz Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink sbin/php-fpm /usr/local/sbin is not writable. I get the same error when i run brew link php71 . If i run php -v , I actually see that I'm currently running PHP 7.1.7. But when I run valet

Uninstall Laravel Valet

穿精又带淫゛_ 提交于 2019-12-03 05:06:54
问题 I installed Valet for the first time and I had some problems listed below: It throws an error saying: Unable to determine linked PHP. Even though I have PHP 7.1 installed by php-osx.liip.ch so it just goes ahead and installs PHP 7.0 with homebrew anyway! In the non-laravel projects my localhost does not work and it responds: ERR_EMPTY_RESPONSE and then Valet itself does not work either! I'm getting an error on Valet domains with message: This site can’t be reached laravel_from_scratch.dev’s

Uninstall Laravel Valet

三世轮回 提交于 2019-12-02 18:25:21
I installed Valet for the first time and I had some problems listed below: It throws an error saying: Unable to determine linked PHP. Even though I have PHP 7.1 installed by php-osx.liip.ch so it just goes ahead and installs PHP 7.0 with homebrew anyway! In the non-laravel projects my localhost does not work and it responds: ERR_EMPTY_RESPONSE and then Valet itself does not work either! I'm getting an error on Valet domains with message: This site can’t be reached laravel_from_scratch.dev’s server DNS address could not be found. So I decided to uninstall it by running $ valet uninstall , it

Laravel valet linked php error

可紊 提交于 2019-12-01 14:30:40
问题 I got an error. $ valet install [DomainException] Unable to determine linked PHP. install 'which' command returns: $ which php /usr/local/Cellar/php70/7.0.6/bin/php 回答1: Homebrew creates (or attempts to create) symlinks in /usr/local/bin . Start by running the following to attempt to create a link. brew link php70 It'll give you information as to whether or not it was successful. Occasionally permissions are problematic and you can resolve this with sudo chown -R `whoami`:admin /usr/local/bin

Pinging test.dev after Laravel Valet install returns “Unknown Host”

☆樱花仙子☆ 提交于 2019-11-30 12:49:14
问题 Update: Don't use ".dev". When this was originally posted in 2016, it was fine. Now it's not. Start by changing your TLD to somethinge else like ".localhost" or whatever. (This change would not have fixed my issue, but it might fix yours if you're still using ".dev"). Problem: I've installed Laravel Valet and it all seems to be working except when I ping test.dev (which just contains an index.htm file and is located in ~/Sites ), after hanging for a long time I get the response ping: cannot

Pinging test.dev after Laravel Valet install returns “Unknown Host”

老子叫甜甜 提交于 2019-11-30 03:51:44
Update: Don't use ".dev". When this was originally posted in 2016, it was fine. Now it's not. Start by changing your TLD to somethinge else like ".localhost" or whatever. (This change would not have fixed my issue, but it might fix yours if you're still using ".dev"). Problem: I've installed Laravel Valet and it all seems to be working except when I ping test.dev (which just contains an index.htm file and is located in ~/Sites ), after hanging for a long time I get the response ping: cannot resolve test.dev: Unknown host Here's what I've already done: I've gone through the Laravel Valet docs

cURL + Laravel Valet + dnsmasq not working

你离开我真会死。 提交于 2019-11-30 03:41:19
问题 when I execute a PHP script which runs a cURL request to a .test domain that is setup on my Mac with Laravel Valet/dnsmasq, I get this error printed : Could not resolve: mydomain.test (Domain name not found) When I test the domain in my browser, it's OK. When I run curl -Ik https://mydomain.test in the Terminal, I get HTTP/2 200 code, so it's OK. When I run curl -k https://mydomain.test in the Terminal I get the source code of the page, so it's OK. Why is it not working with cURL from PHP ? I

Valet (Laravel): DNS address can not be found

混江龙づ霸主 提交于 2019-11-27 20:54:58
I'm trying out Valet, it looks really nice from what I've heard. I've been trough the "whole" installation process, Valet is succesfully installed. But when I cd into my projects file and enter valet park and browse to http://blog.dev , I get "The DNS server address of blog.dev can not be found." I have no idea what I'm doing wrong. :) When you run valet install it attempts to install dnsmasq. It requires sudo privileges. You can check that it's installed and running using brew services list You should see something like dnsmasq started root /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist

Valet (Laravel): DNS address can not be found

放肆的年华 提交于 2019-11-27 04:27:01
问题 I'm trying out Valet, it looks really nice from what I've heard. I've been trough the "whole" installation process, Valet is succesfully installed. But when I cd into my projects file and enter valet park and browse to http://blog.dev , I get "The DNS server address of blog.dev can not be found." I have no idea what I'm doing wrong. :) 回答1: When you run valet install it attempts to install dnsmasq. It requires sudo privileges. You can check that it's installed and running using brew services