Category : homestead

When the person is registered, I want a private e-mail to be sent to the name of the person, but I could not reach. my RegisterController; protected function create(array $data) { $user =User::create([ ‘name’ => $data[‘name’], ’email’ => $data[’email’], ‘password’ => Hash::make($data[‘password’]), ]); $to_name = ‘Laravel Bootcamp’; $to_email = $data[’email’]; $body = []; $mailData = ..

Read more

I’m new to Laravel, trying to set up very first website, but getting "No input file specified" when trying to open my website "belekas.test" I believe that my yaml and hosts files are correct, but will include pictures of it. yaml: ip: "192.168.10.10" memory: 2048 cpus: 1 provider: virtualbox folders: – map: ~/Laravel to: /home/vagrant/Laravel ..

Read more

I’m using php 7.4 in Laravel Homestead and edited this file etc/php/7.4/fpm/php.ini And set memory_limit = -1 I reloaded homestead and checked phpinfo() in the HomeController and it’s been changed to -1 but every time I try to install socialite composer require laravel/socialite I get PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted ..

Read more

Im getting started with Laravel Homestead and spend half a day working with tutorials and manuals. The problem is that everything looks perfect – without any errors, but still I cant see laravel welcom page. I’ve installed vagrant and virtual box. at c:/windows/system32/drivers/etc/hosts added line like: # 192.168.10.10 homestead.test My directory tree looks like: ~/Server/.ssh ..

Read more

Running nginx to run website locally. But running homestead, because database is there. On localhost:80 Error is site cannot be reached I started homestead machine which runs database at 192.168.11.10:3306. Should I use php artisan serve, loading page stucks and then it says IlluminateDatabaseQueryException SQLSTATE[HY000] [2002] Connection timed out (SQL: select * from `menulist`) which ..

Read more

I have a Homestead VM with multiple nginx sites and a couple of apache sites too, everything configured through the Homestead.yaml file (short example below): sites: – map: site1.local to: /home/vagrant/site1 php: "7.1" #type: "apache <= (commented on purpose, not an error) – map: site2.local to: /home/vagrant/site2 php: "7.1" I’ve been working turning On and ..

Read more

After I received this error on my new vagrant: Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Connection timed out) I checked all answers but still I have this problem. I checked this address by: telnet smtp.gmail.com 587 And the result was : Trying 74.125.71.108… telnet: Unable to connect ..

Read more

I’m having problems displaying images stored in the storage folder. At the moment all file uploads are configured to end up in the following folder: storageapppublic And I’m trying to access them as follows: http://homestead.vaniloapp-demo/storage/6/testimage.jpg However, this results in a 404. If I run: php artisan storage:link I get the following error message: “The “public/storage” ..

Read more

While trying to use Laravel’s Homestead environment, I had to install vagrant and virtualbox. I already had an older version of Virtualbox. uninstalled it and installed a new one, then installed Vagrant. While trying to start my virtual machine I’ve got a well known issue: For the past 2 days I’ve tried EVERYTHING I’ve tried ..

Read more

[email protected]:~/Desktop/Projects/project$ vagrant box add laravel/homestead ==> box: Loading metadata for box ‘laravel/homestead’ box: URL: https://vagrantcloud.com/laravel/homestead ==> box: Adding box ‘laravel/homestead’ (v9.2.2-alpha1) for provider: virtualbox box: Downloading: https://vagrantcloud.com/laravel/boxes/homestead/versions/9.2.2-alpha1/providers/virtualbox.box box: Calculating and comparing box checksum… The specified checksum type is not supported by Vagrant: sha512. Vagrant supports the following checksum types: md5, sha1, sha256 Source: Laravel Sta..

Read more