Category Archives: PHP

Install imagemagick with PHP imagick extension on CentOS

To install imagemagick with imagick extension on centos follow these steps: yum install -y ImageMagick ImageMagick-devel imagick After, include file for imagick.so module and restart apache: echo “extension=imagick.so” > /etc/php.d/imagick.ini /etc/init.d/httpd restart

  • Share/Bookmark

Install GeoIP on CentOS

This is a very simple step-by-step.. 1.Install geoip via yum: yum install geoip geoip-devel 2.You also might want to download database with ip addresses from Maxmind website and place it in /usr/share/GeoIP (which is a default location of geoip upon installation). 3.Install PECL extension: pecl install geoip 4.Add extension=geoip.so to your /etc/php.ini 5.Restart: apachectl restart

  • Share/Bookmark