November 6th, 2000, 05:25 AM
I need to execute an external programm out of php. What user-permission does my webserver have and how can I change it?
The www-server needs to have a home directory, but I donīt know how to do this.
PS: Sorry for my english, iīm working on it! =)
[This message has been edited by InnerFire (edited November 06, 2000).]
November 6th, 2000, 06:12 AM
Assuming you're running PHP as an apache module, it will run as whatever your apache is running as. By default this is user nobody and group nobody, and you can change that in httpd.conf.
The user permissions your server has depends on what you're trying run and what user/group owns it and what permissions it has.
Hope that helps,
November 6th, 2000, 07:01 PM
Look for the User and Group directives in your httpd.conf, you can set them to whatever your heart desires. Except root... =;^)