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-php5and it saysReading package lists... DoneBuilding dependency treeReading state information... Donephp5 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, oris only available from another sourceE: Package php5-cgi has no installation candidateIt's saying php is already installed? I try to confirm this by typing php -v and it saysCommand php not foundWhy is this and how can I get php running?
Fixing debian installer
debian;install;apt;php
Moving that comment to its own answer, looks like your /etc/apt/sources.list is faulty. Edit it to remove the line that contains debian-security, and replace it with deb http://ftp.nl.debian.org/debian/ lenny main contrib non-freefor the main distribution,deb http://security.debian.org/ lenny/updates main contrib non-freefor security updates, anddeb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-freeFor so-called 'volatile' updates, then run apt-get update; apt-get -uf upgrade to bring your entire system up to date, and then try installing php5-cgi again.(ETA: You can replace 'nl' with your own country code to get servers a little closer to your physical location and hopefully better download speeds)