PHP – Execute Linux Commands

There are 4 functions:

_ exec

_ system

_ passthru

_ shell_exec

They basically differ for the return. The best seems to be the last one, if you need the whole command output in your PHP script.

This entry was posted in Linux Command Line, PHP. Bookmark the permalink.

Leave a Reply