Because the web server is what runs php as a module, and the web server has its own user for security reasons. You could try chmod but that is generally a last resort.
Thanks, Ash http://www.ashleysheridan.co.uk ----- Reply message ----- From: "Moses" <jam...@gmail.com> Date: Tue, Jan 18, 2011 10:17 Subject: [PHP] [PHP]: permission problem www-data To: "a...@ashleysheridan.co.uk" <a...@ashleysheridan.co.uk> Cc: <php-general@lists.php.net>