homestead

Very slow laravel homestead/vagrant/virtualbox on Mac OSX

跟風遠走 提交于 2021-02-18 21:12:23
问题 I am using Homestead + Vagrant + Virtualbox on a Mac . Problem While I found lots of threads/answers how to fix slow response times (e.g. TTFB) none of them worked. My response times vary between 25 - 32 seconds, which of obviously is not acceptable for local development. Suggested Solutions I have tried a lot of suggested solutions from here: https://github.com/laravel/homestead/issues/901 And have also read and tried many suggestions from these threads: Very Slow Responses On Homestead

Very slow laravel homestead/vagrant/virtualbox on Mac OSX

走远了吗. 提交于 2021-02-18 21:12:20
问题 I am using Homestead + Vagrant + Virtualbox on a Mac . Problem While I found lots of threads/answers how to fix slow response times (e.g. TTFB) none of them worked. My response times vary between 25 - 32 seconds, which of obviously is not acceptable for local development. Suggested Solutions I have tried a lot of suggested solutions from here: https://github.com/laravel/homestead/issues/901 And have also read and tried many suggestions from these threads: Very Slow Responses On Homestead

Error executing NPM INSTALL inside Homestead

我的未来我决定 提交于 2021-01-29 15:32:35
问题 We are developing an app in Laravel, and we created a new project, we have an error when trying to run NPM INSTALL inside Homestead. **We are using: Vagrant 2.2.9 NPM 6.14.10 Node 12.20.0 The last homestead version We tried: Deleting node_modules Deleting composer.json.lock Cleaning cache Reinstalling the virtual machine with the last version And other stackoverflows. But the solutions dont work. And we can't run npm install. The error is: no such file or directory open 'home/vagrant/code

Connecting to Sequel Pro with Homestead issues

我是研究僧i 提交于 2021-01-29 10:47:14
问题 I have been checking out a lot of answers here and on GitHub regarding this issue, but whatever I try there is always something wrong. I also don´t get why with the same credentials sometimes I am able to connect other times I am not even able to do that. So right now I get the following error: "SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known and I am not able to connect: My .env credentials: DB_CONNECTION=mysql DB_HOST=mysql

Change Laravel Homestead v7.0.1 with php 7.2 to php 7.1

蹲街弑〆低调 提交于 2020-12-28 06:56:45
问题 What are the steps to downgrade the php version to 7.1 and make it default on latest Homestead 7, Homestead 7 comes with php version 7.2 as default. There are a number of dev sites on my homestead I want everything to run on 7.1 by default, if I need 7.2 then I will use the following in my homestead yaml sites: - map: homestead.test to: /home/vagrant/Code/homestead/public php: "7.2" 回答1: I think I have a better solution, to switch the php version in Homestead (I am using version 8 currently)

Change Laravel Homestead v7.0.1 with php 7.2 to php 7.1

守給你的承諾、 提交于 2020-12-28 06:56:42
问题 What are the steps to downgrade the php version to 7.1 and make it default on latest Homestead 7, Homestead 7 comes with php version 7.2 as default. There are a number of dev sites on my homestead I want everything to run on 7.1 by default, if I need 7.2 then I will use the following in my homestead yaml sites: - map: homestead.test to: /home/vagrant/Code/homestead/public php: "7.2" 回答1: I think I have a better solution, to switch the php version in Homestead (I am using version 8 currently)

Change Laravel Homestead v7.0.1 with php 7.2 to php 7.1

时光总嘲笑我的痴心妄想 提交于 2020-12-28 06:56:18
问题 What are the steps to downgrade the php version to 7.1 and make it default on latest Homestead 7, Homestead 7 comes with php version 7.2 as default. There are a number of dev sites on my homestead I want everything to run on 7.1 by default, if I need 7.2 then I will use the following in my homestead yaml sites: - map: homestead.test to: /home/vagrant/Code/homestead/public php: "7.2" 回答1: I think I have a better solution, to switch the php version in Homestead (I am using version 8 currently)

laravel homestead downgrade to mysql 5.7

删除回忆录丶 提交于 2020-12-15 04:30:38
问题 I have laravel homestead installed and originally it had mysql 5.7 installed. I subsequently updated my yaml file by included the following and running vagrant reload --provision features: - mysql8: true Now I want to downgrade back to mysql 5.7 however simply removing the the above and re-running vagrant reload --provision does not downgrade back to 5.7 How do I downgrade back to 5.7? 回答1: You need to destroy the existing instance and start it again with mysql8 set to false. In your