suexec and include files
Posted: Sat Jan 03, 2009 12:10 pm
I'm curious, when a script runs under suexec, say as user root...
When that instance of the application includes other PHP scripts, which are of user 'apache' do those scripts run under root or apache?
Basically I'm curious as to whether I could run a index.php script as user 'something' and include other files under the user 'apache' and not worry about the included script files having the same access privies as the primary invoked script.
Cheers,
Alex
When that instance of the application includes other PHP scripts, which are of user 'apache' do those scripts run under root or apache?
Basically I'm curious as to whether I could run a index.php script as user 'something' and include other files under the user 'apache' and not worry about the included script files having the same access privies as the primary invoked script.
Cheers,
Alex