php.ini

sudo nano /etc/php/7.4/fpm/php.ini     
memory_limit = 128M 
post_max_size = 20M  
upload_max_filesize = 10M
sudo service php7.4-fpm restart

sudo nano /etc/nginx/nginx.conf
client_max_body_size 99M;
sudo service nginx restart

Error fixes

Your Vp has become "inaccessible". Unfortunately, this is a critical error with VirtualBox that Vagrant can not cleanly recover from. Please open VirtualBox and clear out your inaccessible virtual machines or find a way to fix them.

101 answer
https://stackoverflow.com/questions/30662746/vm-has-become-inaccessible-vagrant-no-longer-working

run: extra help

 

Run vagrant
1. Homestead (cd users/lenovo/homestead)
2. vagrant up

configure homestead sites
1. open homestead.yaml
2.
folders:
    - map: ~/code
      to: /home/vagrant/code
3.
sites:
    - map: homestead.project
      to: /home/vagrant/code/project

4. vagrant reload --provision

5. Windows\System32\drivers\etc\hosts - 192.168.10.10  homestead.project
6. vagrant halt (shutdown vagrant)

 

install

https://laravel.com/docs/5.7/homestead



on laravel 8 (5 Apr 2021)


🔖 Chapters:
0:00 Intro
0:48 Install Git
1:45 Generate SSH Key
3:08 Install PuTTY & HeidiSQL
3:37 Install VirtualBox
4:15 Install Vagrant
4:43 Install NFS Plugin
5:32 Pull Homestead from GitHub
6:33 Download VagrantBox (http://bit.ly/3l2HvKi)
7:53 Configure Homestead.yaml
9:54 Boot up VM,Vagrant Up !
11:10 Use SSH Key login without password
12:34 Install Laravel 8.x
14:42 Manage Database without SQL Commands
15:45 Checkout Laravel Welcome Page