Saturday, 7 June 2014

image server

Been looking at an image server running at school, am looking at using piwigo as the gallery base.

This will be running on a ubuntu server.

ImageMagick is an open source software suite for displaying, converting, and editing raster image files. It can read and write over 200 image file formats (for a full list of formats supported, one could execute: identify -list format). ImageMagick is licensed under the Apache 2.0 license.
Here comes the small tutorial which tell you how to install imagemagick for PHP in Ubuntu or Debian.
Run the following command from putty or box shell of your server.
sudo apt-get install imagemagick --fix-missing
and then run the following command to install imagemagick for php
sudo apt-get install php5-imagick
Finally you need to restart your web-server, if you are using Apache, run the following command
sudo /etc/init.d/apache2 restart
If you are using PHP-FPM instead of Apache2 then restart it by following command
sudo /etc/init.d/php5-fpm restart
ImageMagick is installed in your server os and will now be able to run on PHP as well.

No comments: