run PHP with user's permissions

This is a discussion on run PHP with user's permissions within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi there, I want to run PHP on my Apache 2.2 machine with the permission of the VSite or ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-26-2007
Florian Effenberger
 
Posts: n/a
Default run PHP with user's permissions

Hi there,

I want to run PHP on my Apache 2.2 machine with the permission of the
VSite or user invoking the script.

Right now, I do it via the kernel binfmt support and suEXEC, so my
scripts run as CGI. This leads to some problems, like memory and CPU
consumption for the PHP binary instead of a module, and problems when
several users should edit a PHP file - suEXEC only allows write
permission for the owner.

Is there any other way of achieving this, maybe more elegant?

Thanks!
Florian

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:37 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0