On 1/18/2011 2:19 AM, a...@ashleysheridan.co.uk wrote:
> 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>

You could run PHP in FastCGI mode and start it as your user.  Then have your web
server use that PHP instance for your web site to process all PHP requests.

This is how we have our servers at the office setup.  Works great.

Jim Lucas

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to