Hello,
This error was you forget set permission for folder and file, take it easy.
Step 1: Change chmod 777,'
step 2: Check chown for your hosting own.
step 3: check your chmod file change this to 644 anything have extenstion *.php
this's run good in my website