title: The directory is not writable by the Web process: /var/www/html/mywebsite/frontend/web/assets
body: <p>I'm trying to initialize Yii2 apps and after i run the command php init and all files generated by yii i try to view from n=my browser but keep getting error, i have search on google and on stackflow for possible solution with no luck, what i've tried so far, i run the command  <code>chmod 0777 web/assets</code> i also do <code>ps -ef | grep apache | grep -v grep</code> and i got the below</p>
  
  <pre><code>apache     4074   4073  0 20:38 ?        00:00:01 /usr/sbin/httpd -DFOREGROUND
  apache     4075   4073  0 20:38 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
  apache     4076   4073  0 20:38 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
  apache     4077   4073  0 20:38 ?        00:00:01 /usr/sbin/httpd -DFOREGROUND
  apache     4078   4073  0 20:38 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
  apache     4083   4073  0 20:38 ?        00:00:00 /usr/sbin/httpd -DFOREGROUND
  </code></pre>
  
  <p>the i proceed doing <code>sudo chgrp apache ./assets</code> and then <code>sudo chmod g+w ./assets/</code> it all not working i guess this is a kind of server problem, any help on this will be appreciated thanks</p>