i guess theres a base setup done with a netinst image of debian (http://www.debian.org/CD/netinst/) without any X11 enviroment or something else, just the ssh server and basic system tools at the feature selection screen.
apt-get install mysql-server mysql-client
it asks for the mysql root password you want to set, note it down!
apt-get install apache2 apt-get install php5 libapache2-mod-php5
/etc/init.d/apache2 restart
apt-cache search php5 apt-get install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
/etc/init.d/apache2 restart
apt-get install phpmyadmin
– choose apache2 if it asks how to reconfigure the web server automticaly
– when it asks “Configure database for phpmyadmin with dbconfig-common?” select “No”