Enabling the use of system() function in php on RHEL 4
Dan Coutu
coutu at snowy-owl.com
Thu Apr 26 11:22:23 EDT 2007
When installing a system for a client I accepted the new default setting
for PHP configuration that disable functions system as exec(),
passthru(), and system(). Unfortunately quite a bit of their intranet
code uses the system() function. So I've spent the past hour or so
trying to figure out how to enable the use of this function. I had
expected to find the disable_functions setting in the php.ini file to
contain a list that included this function. But no, it was completely blank.
I've scoured the web server config files as well, sysconfig directory,
everyplace that I could think of and no luck. Searchin the red hat site
also comes up empty.
I'm hoping that someone out there knows the magic incantation, I've got
my eye of newt at the ready in order to complete the magic...
Thanks,
Dan
More information about the gnhlug-discuss
mailing list