Re: [PHP]: permission problem www-data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/18/2011 2:19 AM, ash@xxxxxxxxxxxxxxxxxxxx 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" <jamuah@xxxxxxxxx>
> Date: Tue, Jan 18, 2011 10:17
> Subject:  [PHP]: permission problem www-data
> To: "ash@xxxxxxxxxxxxxxxxxxxx" <ash@xxxxxxxxxxxxxxxxxxxx>
> Cc: <php-general@xxxxxxxxxxxxx>
> 
> 

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux