Archive for the ‘linux’ Tag

Cannot redeclare geoip_country_code_by_name

Today I had this error on my Ubuntu Linux box

Fatal error: Cannot redeclare geoip_country_code_by_name()

The reason was that I have geoip extension enabled in my PHP configuration and also I used the geoip.inc file from maxmind.com.

The solution is very simple.

http://www.razvantudorica.com/03/cannot-redeclare-geoip_country_code_by_name/