To set up PHP and MySQL on your server, you have to add several packages. My server runs with Ubuntu, so I just installed the necessary software via SSH. All of these packages reside in the Ubuntu resources, so you dont’t even have to download them.
sudo apt-get install packagename and enter it for the following packages:
It is possible that you need an older version of PHP or MySQL for some applications. In that case, just add php4 or something similar to the list. Even if you don’t seem to need it, always add the newest packages to your server. Phpmyadmin is not required. You may also use another application to handle your databases.