back home

Fixing Laravel on Plesk

May 27, 2018

1. Change Ownership

chown -R usr_name:psacln *

2. Change Permission

chmod -R 644 * && find . -type d -exec chmod 755 {} \;

3. Change Ownership

chgrp -R www-data storage bootstrap/cache && chmod -R ug+rwx storage bootstrap/cache

4. Add this line on file Index.php line:38

// set the public path to this directory
$app->bind('path.public', function() {
	return __DIR__;
});