Welcome to the web's most helpful Online Free computer tips and tricks website. This site contains all Latest and Cool Computer tricks as well as some Internet Tricks, Registry tricks, Orkut tricks, Windows customize and Optimization tricks, Computer Tweaks. Solve your computer problems by browsing the website for related Computer solution. All tips work well in both Windows XP as well as windows vista or win 7 operating systems. Need some Computer Help? Then this website suites your must need. These windows and internet Hacks Tricks are safe and free from any Spy ware. Learn All Basic and Advanced computer tips and tricks and be a computer master. All the computer tips at Hack2011 are very interesting and are mainly meant for education purpose. Visit my new Computer Tips Blog and leave your comments and suggestions there. Enjoy your stay and read all the articles posted here.


How to install PHP Pecl GeoIP on Linux

If you are a webmaster and want to include php GeoIP functions in your code. Then you have to install Pecl GeoIP extension on your server. After installing this extension you can get geo data of any IP-address using geoip_record_by_name function. To install this extention follow these steps

For Debian/Ubuntu
Run following command as root user
apt-get install libgeoip-dev php5-dev php5-pear
pecl install geoip
then simply add extension=geoip.so in php.ini using nano or vi command
For Redhat/Centos
Run following command as root user
yum install  GeoIP-devel
pecl install geoip
then simply add extension=geoip.so in php.ini using nano or vi command

No comments:

Post a Comment