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
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
With memcached you can store array and other data in server memory. For example, you can use memcache to store data from a mysql_query in memory to expire some time in future. Using memcache you connect to database or other resource only when needed. I’m using memcache to store mysql querys to reduce connection on [...]