Make Linux Application for Users Run PHP Scripts?

Question by Baseball Freak: Make Linux Application for Users Run PHP Scripts?
So I want to let users run certain programs in Ubuntu that run already built-in PHP scripts. I already have the scripts and everything, I just need something that users can put there Username and Password into lets the built-in PHP script do its stuff. Is there any way possible?

Best answer:

Answer by ʄaçade
Install php-cli. This allows PHP scripts to run from a shell. Then just code a shell script to run which PHP scripts you need. If you want your users to have a GUI, try out kdialog for a simple and easy GUI interface. I see no reason that a user would need to enter his or her username/passwd though. Just be sure all your scripts have 0755 permissions.

Add your own answer in the comments!

Get the book now