sudo chmod 755 /var/www/hello.php to permanently fix this problem, add your user to web server's group. you can find the configuration it at /etc/apache2/ folder Mahmood