Category Archives: Ubuntu

Change permission for PHP to write storage folder

Under /storage/app/public/ (laravel)

 

New domain for Apache

https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts

Change permission:

Restart apache:

 

Create a symlink (symbolic link)

Official (but sometimes not working)

Command:(在public資料夾下)

Windows:

Reference:

  1. https://wiki.ubuntu-tw.org/index.php?title=Ln
  2. https://www.phpini.com/linux/ln-create-link-command