How can i execute bash commands (in fedora linux) with php?
Try the program execution functions
Though you may prefer the passthru function. Depends on your needs.