Also don’t forget to make the geoip_update.sh executable with: chmod +x …

Friday, 29th March 2024

Comment on How to Install, Setup and Test GeOIP support in PHP on Apache2 in Debian Lenny Linux by hipo.

Also don’t forget to make the geoip_update.sh executable with:

chmod +x geoip_update.sh

hipo Also Commented

How to Install, Setup and Test GeOIP support in PHP on Apache2 in Debian Lenny Linux
Another note is that by default the php5-geoip module will look up for the file:
/usr/share/GeoIP/GeoIPCity.dat and your geoip won’t work correctly, will quit immediately after test with an error message of:

Warning: geoip_record_by_name(): Required database not available at /usr/share/GeoIP/GeoIPCity.dat. in /root/geoip.php on line 2

Fixing this issue comes to:

mv /usr/share/GeoIP/GeoIPCityLite.dat /usr/share/GeoIP/GeoIPCity.dat


How to Install, Setup and Test GeOIP support in PHP on Apache2 in Debian Lenny Linux
Note that after
http://www.pc-freak.net/bshscr/geoip_update.sh
You will get geoip_update.sh.gz, you need to unzip it before you proceed with the steps to set it in crontab.
so exec:

# gzip -d geoip_update.sh.gz


Recent Comments by hipo

How to install Microsoft Windows XP SP3 on Debian GNU / Linux Squeeze
one more thing. guestfish is a great program capable of inserting files inside a qemu and other Virtual Machines image files. guestfish is another option if there is no usb stick is at hand like I point in the article.
The flexibility on being able to read read inside the Virtual Machine from the guest OS are multiple. So make sure you try it 😉


How to disable annoying facebook mail notifications
Hi JD,
I guess facebook changed that you should be able to disable the annoying facebook mail notifications from:
Account Settings -> Notifications
Hope this helps,
best
Georgi


Burj Al Arab, Towers of the Arabs and my bathing in Arab Sea
I went to the Safari eventually. The driver was late with 20 minutes. The driver was Indinan and the rest 6 people in the offshore jeep was also indian. We drivered through the Sheikh's palace and we went to the desert. It's really crazy and a bit scary at times in the desert. The driver driver like mad and it was way more dangerous than normal at many occasions. One can feel his adrenaline rising up … So suddenly in the desert after a lot of driving without direction the Indian passengers ont he back, started talking in Indian in a loud voice almost screaming. I first thought okay it's the natural way they speak in their mother language. But when the driver stopped  and they all went off the car quarreling in louad Indian, I asked what's happening. The driver said nothing. But it was obviously nothing the Indian Safari travellers were not happy. One of them told me in english, "we're angry because this is not the right desert". I said what?? he said "this is not the right desert". So I further asked him and he explained it was advertised that we were supposed to be led to the other desert which has a red color of sand and this Safari is  illegal!!!! They spoke with the company operator a couple of times. I was in the middle of desert with 5 angry indians and a crazy indian driver. If something happened we could certainly not make our way homе and probably I would have died in the desert and this comment will never be their. So much stress for today pfuuuuufff with this stupid Safari. I almost regret for getting the Safari. It's the first time I'm exposed to Indians and honestly shocking experience… If the police has come it would be total shit going on. Finally after 40 minutes quarrel in the desert we were driver to a camp with camels, food and belly dancers. The camp was nice but I was so shocked from what happened before so I couldn't really enjoy. … I met a girl from Thailand and one Iranian girl has introduced herself to me. The food in the camp was okay, and the belly dance and masked show was interesting. Though the mask show was a bit crazy. They also had dervish dances, In the camp everything completely unorganized and messy. The organizing company of which I'm very dissatisfied is called YahooTourism / Yahoo Tourism. Even though the price of the Safari was only 135 AED (75 EUR), If you're planning to do a Safari never get Yahoo Tourism as probably you will get shit experience.


Burj Al Arab, Towers of the Arabs and my bathing in Arab Sea
I couldn't go for the Safari 😐 Something messed up the jeep Planet Yahoo supposed to take me up didn't came or came earlier than I was told by Roland.


Solving “Cannot redeclare show_subscription_checkbox() (previously declared in .. wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php”
baklava


Share this on:

Comments are closed.