Whenever I try to run PHP, it doesn't output anything.
Here's what I'm typing into SSH (where user is a user I created):
(or wherever PHP is installed for you)
That should print out diagnostics on what's going on.
Also, it should be noted that if you just run php, it doesn't print anything, and it waits. Also, it won't print anything if your script doesn't have any output.
Check the code in the index.php script and make sure it's doing what you want it to be doing. If php is exiting immediately, treat this like a bug in your code.
Probably it's bombing out on an error, and it's been told not to tell you what that error is. Try adding this to the beginning of your index.php:
Turns out MySQL wasn't setup and I forgot about that. My bad. Thanks for the help.