well, mine.... what i did is...
If i have a perl script named... runme.pl
and i want to execute that within my php script.. via exec or system call... i do this..
get the group where your apache's userid belongs... for me.. my apache server has a UID:apache and GID:apache
so what i do is to chown the file..
chown juney.apache runme.pl
and then chmod the file so that, only me and apache can execute that file...
chmod go-rx runme.pl
chmod gu+rx runme.pl
i know there's another way to do that using SuEXEC
but i dont know how to use it..