debian-server:~# dpkg -r php5-geoip
debian-server:~# /etc/init.d/apache2 restart
Then I tried installing the newer php5 geoip
using
pecldebian-server:~# pecl install geoip
debian-server:~# apt-get install
libgeoip-dev
debian-server:~# pecl install geoip
debian-server:~# echo "extension=geoip.so" >>
/etc/php5/apache2/php.ini
Needless to say for the new geoip module to take effect you need to
restart your Apache webserver.
debian-server:~# /etc/init.d/apache2
restart
Now this will enable the unexisting
geoip_time_zone_by_country_and_region function in the earlier
releases than 1.0.4 of php geoip.
So your geoip_time_zone_by_country_and_region should be
ready to use from your php scripts from now on.