[PHP] run extension library as different uid/gid?

2003-05-29 Thread Joe Wong
Hi, I have created an extension library for my own use. This library needs to access a storage area needs specific user ID to operate. If I start Apache as normal ( using User Apache, Group Apache in httpd.conf ), my PHP script fails to run. I try to setuid / setguid on the PHP script ( this

Re: [PHP] run extension library as different uid/gid?

2003-05-29 Thread Marek Kilimajer
You can make a wraper setuid script and execute it, or chown /dev/your_storage Joe Wong wrote: Hi, I have created an extension library for my own use. This library needs to access a storage area needs specific user ID to operate. If I start Apache as normal ( using User Apache, Group Apache in