Results 1 to 2 of 2
-
03-10-2013, 10:59 PM #1New Member
- Join Date
- Sep 2012
- Posts
- 3
Geoip on Linux CentOS cPanel Error
Hello,
I tried to install GeoIP for PHP via this command
"pecl install geoip"
It threw this error
"downloading geoip-1.0.8.tgz ...
Starting to download geoip-1.0.8.tgz (10,061 bytes)
.....done: 10,061 bytes
Could not get contents of package "/root/tmp/pear/download/geoip-1.0.8.tgz". Invalid tgz file.
Download of "pecl/geoip" succeeded, but it is not a valid package archive
Error: cannot download "pecl/geoip"
Download failed
install failed"
I am running a CentOS 5 32bit VPS with cPanel.
Thank you.
-
03-11-2013, 06:50 AM #2Disabled
- Join Date
- Feb 2013
- Location
- Cochin
- Posts
- 20
Hello,
You can install it using easyapache feature in cpanel, Since it is a custom module you have to add this module to the EasyApache system. These modules are compiled into Apache and/or PHP just like the modules provided with EasyApache.
1, Login to the server via ssh
2, Download and unzip Geoip into /var/cpanel/easy/apache/custom_opt_mods/
wget docs.cpanel.net/twiki/pub/EasyApache3/CustomMods/custom_opt_mod-mod_geoip.tar.gz
tar -C /var/cpanel/easy/apache/custom_opt_mods -xzf custom_opt_mod-mod_geoip.tar.gz
3, Run EasyApache from backend or front end, from there you can select this module and install it.
Warm Regards
AiderPro Technologies
Similar Threads
-
CentOS/cPanel easy installer for GeoIP and PHP-GeoIP
By NetworkPanda in forum Software & Scripts OffersReplies: 0Last Post: 12-14-2012, 06:44 PM -
Install GeoIP on cPanel Server
By kshazad86 in forum Hosting Security and TechnologyReplies: 2Last Post: 07-31-2012, 03:19 PM -
Error installing apc for php on linux/centos
By levani in forum VPS HostingReplies: 3Last Post: 12-22-2011, 12:13 PM -
Linux CentOS cPanel Bandwidth?
By jacksony in forum Colocation, Data Centers, IP Space and NetworksReplies: 8Last Post: 12-18-2011, 09:13 PM -
How To Install cPanel and Fantastico on Linux CentOS 5
By NetShop ISP in forum Hosting Software and Control PanelsReplies: 3Last Post: 10-28-2010, 05:42 AM