I have a co-worker that was just bitten by this, I'm researching this now... He has a program that was doing a shell_exec() that works fine until I run one of my own mod_perl programs on the same apache server.
mod_php4 and mod_perl are both installed as DSO's ...
Not sure where to start. shell_exec() appears to be truncating arguments to it's internal exec() syscall after each time the mod_perl script is run!!! Yikes!
If you find the same symptoms, please let me know.
-Bryan Shannon