PHP5: Images not working (GD)
by admin on Nov.13, 2011, under Linux (Ubuntu)
After moving my sites to a new server it soon came to my attention that scripts which used to create images dynamically were no longer working properly. Apparently they failed to call some of the image functions provided by PHP.
I found the solution to my problem pretty quickly:
apt-get install php5-gd
After installing the GD module I also had to restart Apache in order to apply the changes (reloading the configuration files might be a working alternative as well, didn’t try it though).
sudo /etc/init.d/apache2 restart
After performing the above steps everything worked again fine.