Hi I deploy my laravel4 script form my notebook to production on own VPS server with CentOS7 by git. I have problem with permission to storage folder. I obtain the error
file_put_contents(/var/www/myweb/app/storage/views/0353b2081a97162a6d5fdda4c3a3f918): failed to open stream: Permission denied
i try change permission to storage directory by this by this
cd app/ chown -R apache:apache storage cd storage/ find . -type d -exec chmod 775 {} \; && find . -type f -exec chmod 664 {} \; but the error is still same. How I must set permisiion for solve this problem on CentOS 7 ?