Help - Search - Members - Calendar
Full Version: Shell_exec()
Invision Power Services > Community Forums > Community Web Design and Coding
pspzones_merged
My server has shell_exec() disabled for security reasons. However I've installed something which requires this to run, how can I enable shell_exec() in that directory? Is there a .htaccess edit or something?
Dan_merged
As far as i'm aware, if a function is disabled in php.ini, you can't override that from PHP itself, or from htaccess.

I'd imagine that it'd defeat the purpose of disabling it if a script could override that... wink.gif
pspzones_merged
QUOTE(Dan @ Jul 30 2006, 03:24 PM) *
As far as i'm aware, if a function is disabled in php.ini, you can't override that from PHP itself, or from htaccess.

I'd imagine that it'd defeat the purpose of disabling it if a script could override that... wink.gif

Thanks, you've made my mind up for me. smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.