# apt-get install php5-gd # apt-get install php5-mysql# /etc/init.d/apache2 restart //restart apache server