homestead

laravel homestead the host path of shared folder missing error on windows 7

∥☆過路亽.° 提交于 2019-12-03 17:30:30
问题 I am trying to set up laravel homestead on my windows 7 machine . I installed vagrant and virtualbox. Also the git bash shell. did vagrant box add laravel/homestead composer global require "laravel/homestead=~2.0" added composer vendor bin to environment variables.So, homestead command is now accessible from shell homestead init I had edited my Homestead.yaml file and this is the configuration . I have my laravel projects currently in the mentioned directory in the configuration . ie ( E:// )

Laravel Homestead Mongo install causing PHP error undefined symbol: php_json_serializable_ce in Unknown on line 0

和自甴很熟 提交于 2019-12-03 13:25:10
问题 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/mongodb.so' - /usr/lib/php/20151012/mongodb.so: undefined symbol: php_json_serializable_ce in Unknown on line 0 After installing MongoDB I'm now get this error whenever I run any php command from terminal: php artisan php -v I have searched for 2 days now. I have seen these: PHP unable to load dynamic library (mongo.so) https://github.com/mongodb/mongo-php-library/issues/126 and I'm pretty sure any other solution

Laravel 5.3 storage:link -> symlink(): Protocol error

非 Y 不嫁゛ 提交于 2019-12-03 11:25:04
问题 I'm trying to run the following artisan command: php artisan storage:link I get this error: [ErrorException] symlink(): Protocol error Can you help me to solve this. This is my setup: Windows 10 using vagrant with Homestead (v0.5.0) box Ubuntu 16.04 LTS (GNU/Linux 4.4.0-22-generic x86_64) Laravel Framework version 5.3.6 PHP 7.0 回答1: Your problem probably is that you have to start your vagrant box as a system administrator. So hit start type "cmd", right click it choose "Run as administrator".

Laravel Homestead Mongo install causing PHP error undefined symbol: php_json_serializable_ce in Unknown on line 0

谁说胖子不能爱 提交于 2019-12-03 07:46:57
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/mongodb.so' - /usr/lib/php/20151012/mongodb.so: undefined symbol: php_json_serializable_ce in Unknown on line 0 After installing MongoDB I'm now get this error whenever I run any php command from terminal: php artisan php -v I have searched for 2 days now. I have seen these: PHP unable to load dynamic library (mongo.so) https://github.com/mongodb/mongo-php-library/issues/126 and I'm pretty sure any other solution that comes up from google this error. They all seem to be fixes for php5 and ain't working for me. I

laravel homestead the host path of shared folder missing error on windows 7

旧街凉风 提交于 2019-12-03 05:44:58
I am trying to set up laravel homestead on my windows 7 machine . I installed vagrant and virtualbox. Also the git bash shell. did vagrant box add laravel/homestead composer global require "laravel/homestead=~2.0" added composer vendor bin to environment variables.So, homestead command is now accessible from shell homestead init I had edited my Homestead.yaml file and this is the configuration . I have my laravel projects currently in the mentioned directory in the configuration . ie ( E:// ) directory folders: - map: /e/Projects/Code/apache/laravel to: /home/vagrant/Projects sites: - map:

Why does virtual box vboxheadless process using Vagrant use 100% of my cpu?

我的梦境 提交于 2019-12-03 03:37:09
问题 So I'm using a couple vagrant boxes and when i have them up, "sometimes/randomly" it starts to take up 100% cpu on my OS X machine and i have no idea whats causing it. I can ssh into the vmachine and check the load and it's at 0 sot its not something thats running in the box. The only way I can fix this is if i suspend it and resume it, then it goes away until randomly it starts to happen again. Sometimes hours later, sometimes days later. The only thing I can think of is it might be because

Laravel Homestead vhost configuration

匿名 (未验证) 提交于 2019-12-03 02:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using Laravel homestead. For a project I need a special vhost configuration, where should I define this? 回答1: You add a new folder mapping into the "sites" block of Homestead.yml, like so: - map: myapp.com to: /home/vagrant/Code/myapp/public That's all there is to adding a new vhost. To modify it, edit the appropriate file in /etc/nginx/sites-available . In the above case, this would be /etc/nginx/sites-available/myapp.com See here for example customization of a newly added vhost. Note that the quick tip linked here uses Homestead

How to get https certificate working on local Laravel Homestead site

匿名 (未验证) 提交于 2019-12-03 02:14:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm getting this problem: The error that I'm seeing in Windows 10 Chrome Version 65.0.3325.181 (Official Build) (64-bit) is: Your connection is not private Attackers might be trying to steal your information from ((mysite)) (for example, passwords, messages, or credit cards). Learn more NET::ERR_CERT_AUTHORITY_INVALID This page is not secure (broken HTTPS). Certificate - missing This site is missing a valid, trusted certificate (net::ERR_CERT_AUTHORITY_INVALID). Firefox Quantum 59.0.2 (64-bit) says: Your connection is not secure The owner of

Laravel Homestead: 403 forbidden on nginx

匿名 (未验证) 提交于 2019-12-03 02:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I just installed Laravel Homestead according to their instructions. When I open http://homestead.app:8000 I get the nginx 403 forbidden HTTP Response. I have tried setting app/storage permissions to 755, but that didn't work, so I reloaded Vagrant. With no further result. I also tried changing the nginx configuration, but with no success. 回答1: I had the same problem and for me the cause was that in the Homestead.yaml file, I have incorrectly put this: sites: - map: homestead.app to: /home/vagrant/Code Instead of the correct syntax: sites: -

Box 'laravel/homestead' could not be found

寵の児 提交于 2019-12-03 01:26:43
问题 I have downloaded the laravel/homestead box manually from here. I successfully add the box: vagrant box add file:///path/to/the/laravel/homestead.box --name 'laravel/homestead' but when I run vagrant up it says: Box 'laravel/homestead' could not be found even though vagrant box list shows the box. The download page says that run vagrant init laravel/homestead that generates a vagrantfile but the laravel/homestead repository itself provides a vagrantfile . I can vagrant up with the vagrantfile