homestead

Laravel; “SQLSTATE[HY000] [2002] Connection refused”

我的未来我决定 提交于 2020-08-27 08:46:54
问题 I set up homestead 2.0 on OSX host and using Sequel Pro. I can do migration and confirm that data are migrated in Sequel Pro, so it looks like no problem about DB connection. But once I try to fetch data from Laravel 4.2 app, it fails to retrieve data and get following error. PDOException (2002) SQLSTATE[HY000] [2002] Connection refused Here is my mysql configuration. 'mysql' => array( 'driver' => 'mysql', 'host' => '127.0.0.1', 'port' => '33060', 'database' => 'homestead', 'username' =>

ext-imagick * -> the requested PHP extension imagick is missing from your system

邮差的信 提交于 2020-06-14 04:10:30
问题 I have trouble installing devisephp for laravel. I am working on the latest version of homestead with php7. when i do composer update i get the following error. Problem 1 - Installation request for devisephp/cms 1.4.* -> satisfiable by devisephp/cms[1.4.0]. - devisephp/cms 1.4.0 requires ext-imagick * -> the requested PHP extension imagick is missing from your system. After having this message i installed imagick on my homestead environment added the extension to php.ini in cli and fpm and

ln: failed to create symbolic link: Protocol error (in Vagrant)

孤街浪徒 提交于 2020-03-25 17:41:14
问题 I'm using Laravel Homestead (Vagrant, Ubuntu). My host computer is Windows 10 running VirtualBox. As admin (since I've already seen tons of answers that say lack of permissions is usually why people have problems with symlinks), I open Git Bash and run this: vagrant@vboxHomestead:~/Code/myproject$ ls -lah /home/vagrant/foo/blah total 0 drwxrwxrwx 1 vagrant vagrant 0 Mar 17 23:09 . drwxrwxrwx 1 vagrant vagrant 0 Mar 17 22:36 .. -rwxrwxrwx 1 vagrant vagrant 0 Mar 17 23:09 asdf.txt vagrant

ln: failed to create symbolic link: Protocol error (in Vagrant)

允我心安 提交于 2020-03-25 17:39:06
问题 I'm using Laravel Homestead (Vagrant, Ubuntu). My host computer is Windows 10 running VirtualBox. As admin (since I've already seen tons of answers that say lack of permissions is usually why people have problems with symlinks), I open Git Bash and run this: vagrant@vboxHomestead:~/Code/myproject$ ls -lah /home/vagrant/foo/blah total 0 drwxrwxrwx 1 vagrant vagrant 0 Mar 17 23:09 . drwxrwxrwx 1 vagrant vagrant 0 Mar 17 22:36 .. -rwxrwxrwx 1 vagrant vagrant 0 Mar 17 23:09 asdf.txt vagrant

Windows 10 系统下Laravel框架Homestead开发环境安装及配置详解

◇◆丶佛笑我妖孽 提交于 2020-03-09 10:58:48
转载: https://blog.csdn.net/xiaomayi721025/article/details/84727405 写在开头 关于Laravel框架的Homestead开发环境安装及部署,网上有很多相关的技术文章,其中Eagle Luo有一篇文章写得非常好,我的第一个homestead环境基本上就是在他这篇文章的指导下完成安装的。原文标题是:“”Windows 7/8/10 系统下Laravel框架的开发环境安装及部署详解(Vagrant + Homestead)”,原文地址如下:https://blog.sbot.io/articles/1 。 尽管Eagle Luo的这篇文章已经写得非常详细了,但我在安装过程中依然遇到了不少的问题,最主要的地方有两个:一个就是homestead默认安装位置(默认为C:\Users\XXX)的问题,另一个是当你的windows登录用户名使用的是中文时(如C:\Users\小蚂蚁)homestead虚拟机安装报错的问题。所以,我在这里把自己的安装过程做一个梳理,也给初次安装Laravel Homestead的小伙伴提供一个参考和借鉴。 Laravel Homestead简介 Laravel Homestead是Laravel官方为开发者提供的一套完善的重量级本地开发环境,它是一个打包好各种 Laravel 开发所需软件和工具的

How can I recover my MySQL databases from a Homestead Vagrant VirtualBox?

不想你离开。 提交于 2020-02-25 21:59:07
问题 The bounty expires in 5 days . Answers to this question are eligible for a +50 reputation bounty. Ryan wants to draw more attention to this question. I was running Homestead v8.2.0 and laravel/homestead (virtualbox, 7.1.0) and Vagrant 2.2.4. I needed to upgrade because I wanted PHP 7.4 support. Laravel docs said that destroying the vagrant box first would be necessary, but I knew I didn't want to destroy my original box since I still had valuable data in there. So I figured I'd try merely

cannot run vendor/bin/homestead make getting error yaml.php line 52

家住魔仙堡 提交于 2020-02-02 17:31:18
问题 I'm trying to install laravel/homestead and gettiong this error HP@carlas MINGW64 /c/vagrant-Laravel (master) $ vendor/bin/homestead make PHP Fatal error: Default value for parameters with a class type hint can only be NULL in C:\vagrant-Laravel\vendor\symfony\yaml\Yaml.php on line 52 Fatal error: Default value for parameters with a class type hint can only be NULL in C:\vagrant-Laravel\vendor\symfony\yaml\Yaml.php on line 52 I'm running Laravel Homestead 8.3.1 and as i have php 5.6 locally

Windows上使用Vagrant打造Laravel Homestead可协同跨平台开发环境

余生长醉 提交于 2020-01-26 19:38:58
1、简介 Laravel 致力于让整个 PHP 开发过程变得让人愉悦,包括本地开发环境,为此官方为我们提供了一整套本地开发环境 —— Laravel Homestead 。 Laravel Homestead 是一个打包好各种 Laravel 开发所需要的工具及环境的 Vagrant 盒子( Vagrant 提供了一个便捷的方式来管理和设置 虚拟机 ),该盒子为我们提供了优秀的开发环境,有了它,我们不再需要在本地环境 安装 PHP、HHVM、Web服务器以及其它工具软件,我们也完全不用再担心误操作搞乱操作系统 —— 因为 Vagrant 盒子是一次性的,如果出现错误,可以在数分钟内销毁并重新创建该 Vagrant 盒子! Homestead可以运行在 Windows、Mac 以及 Linux 系统上,其中已经安装好了Nginx、PHP7.0、MySQL、Postgres、Redis、Memcached、Node以及很多其它开发 Laravel 应用所需要的东西。 注:如果你使用的是Windows,需要开启系统的硬件虚拟化(VT-x),这通常可以通过BIOS来开启。 预装软件 Ubuntu 14.04 Git PHP 7.0 HHVM Xdebug Nginx MySQL SQLite 3 Postgres Composer Node(With PM2, Bower, Grunt,