Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel Permissions

cd /var/www/html/website
sudo chmod -R 755 bootstrap/cache
sudo chmod -R 755 storage
sudo find /var/www/html/website -type f -exec chmod 644 {} ; 

sudo find /var/www/html/website -type d -exec chmod 755 {} ; 
sudo chgrp -R apache storage bootstrap/cache 
sudo chmod -R ug+rwx storage bootstrap/cache 
 
PREVIOUS NEXT
Tagged: #Laravel #Permissions
ADD COMMENT
Topic
Name
3+5 =