Drupal 8 not Display or Rebuild correctly | Drupal 8

Drupal 8 not Display or Rebuild correctly

Submitted by editor on Mon, 11/23/2015 - 10:37
Question

After copy drupal to server or after change drupal direcory, site not display / rebuild correctly.
And clear cache / drush cr not resolve the probleme.
The folder files/php/twig not present !!!

This is due to file/folder permission. so drupal cant write twig tempory files.

Change folder owner / permission like:
chown DRUPAL:www-data -R files/* (On debian/Ubuntu)
chown DRUPAL:apache -R files/* (On Redhat/CentOD/Fedors)

chmod 0770 -R files/*
Note: DRUPAL=> Replace with the drupal user name or root (CAUTION)

Add new comment

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.