Skip to content

Instantly share code, notes, and snippets.

View kazi-shahin's full-sized avatar

Kazi Shahin kazi-shahin

View GitHub Profile
@masdimdev
masdimdev / laravel-file-permission-apache.md
Created January 9, 2018 04:14 — forked from agasigp/laravel-file-permission-apache.md
Laravel file permission on apache

Laravel File Permission on Apache

  1. Set the owner & group of file & folder to apache user (www-data)
sudo chown -R www-data:www-data /path/to/your/root/directory
sudo chown -R www-data:www-data /path/to/your/root/directory
  1. Add user to the webserver user group
sudo usermod -a -G www-data ubuntu