How to enable php EXEC function for only one domain ?

sh4ka

Well-Known Member
May 12, 2005
444
0
166
Uruguay
cPanel Access Level
DataCenter Provider
I've disabled many php functions, including system, exec, etc... Now one of my customers need the EXEC function enabled for his website, but i do not wanna enable this function for the entire server, i wanna do it only for this account, i'm using php 4.4.2 + safe_mode + cPanel.

Thanks.
 

avijit

Well-Known Member
Jul 26, 2004
116
0
166
India
The function can not be enabled for a user as if you enable it it will be enabled for all the users.
 

shacker23

Well-Known Member
Feb 20, 2005
263
1
168
I know this is an old thread, but I've just come up against the same issue. Is it still not possible to enable exec() this per-account?

If not, just how dangerous is it to enable it for the whole server, given the fact that I run a small web host with all trusted users (I don't take signups from strangers). Just looking for realistic input here - is it paranoid for me to keep exec() disabled in this environment?

Thanks.