[UPHPU] Using exec() to ping?

dataw0lf digitalsuicide at gmail.com
Tue Apr 4 14:50:34 MDT 2006

Benjamin Schmuhl wrote:

>Yeah, I meant exec()!  I ran that same code on my server and it was a no-go!
>I'll keep looking, maybe I am missing something.  When I ran a test script
>from the command line, it worked fine, it's just when it's run from apache.
>Maybe I can make a shell script or something to help out...

Oh, and is safe mode enabled on the Linux server's PHP config?  You may 
want to chroot ping into the safe_mode_exec_dir if that's the case. 

More information about the UPHPU mailing list