I want to install small programs accessible through the command line (of linux OS) to a server and run them with PHP. I want to install Apache, vhost on my machine... Is there a way to run these external applications on my virtual server, on my system, so i can experiment with PHP calls?
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
We do exactly this all the time. I call them voodoo pages. Here's some working code:
And the output to the webpage served:
you could write some shell scripts *.sh and they will open the applications. you could use the php command "shell_exec" and run these shell scripts.