beta.blog

Linux (Ubuntu)

PHP5: Images not working (GD)

by 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.

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!