I have a VPS with Debian GNU/Linux on it. I'm trying to install a PHP file manager so that people could access it and download stuff into a directory.
I don't have anything in my /bin about PHP so this is probably an issue.
I installed PHP with this command:
apt-get install php5 php5-cgi php5-cli php5-gd php5-mysql libapache2-mod-php5
and it says
Reading package lists... Done Building dependency tree Reading state information... Done php5 is already the newest version. Package php5-cgi is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package php5-cgi has no installation candidate
It's saying php is already installed? I try to confirm this by typing
php -v and it says
Command php not found
Why is this and how can I get php running?