[eluser]pickupman[/eluser]
I would guess that you copied/created the file inside of your webroot folder. That would mean only you as a user have access to that subfolder, and not the Apache user.
You would need to chown the user for Apache to that subfolder something like this:
Code:
sudo chown -R www-data:www-data /var/www