1. mkdir /home/uruser/geoip cd /home/uruser/geoip 2. Download and install library: wget http://www.maxmind.com/download/geoip/api/…/c/GeoIP.tar.gz http://www.maxmind.com/download/geoip/api/c/GeoIP-1.3.4.tar.gz tar xzfv GeoIP.tar.gz cd GeoIP* ./configure make make check make install cd .. 3. Download and build Module: mkdir mod_geoip cd mod_geoip wget http://www.maxmind.com/download/geoip/api/mod_geoip/mod_geoip_1.2.9.tar.gz Download: http://www.maxmind.com/download/geoip/api/mod_geoip/ wget http://www.maxmind.com/download/geoip/api/mod_geoip/mod_geoip_1.2.9.tar.gz tar xzfv mod_geoip_1.1.1.tar.gz cd mod_geoip_1.1.1 /usr/local/apache/bin/apxs -cia -I/usr/local/include -L/usr/local/lib -lGeoIP mod_geoip.c 4. Add /usr/local/lib […]
See MoreTag: low cost web hosting
Upgrading gcc compiler
cd /usr/local mkdir gcc cd gcc wget ftp://mirrors.kernel.org/gnu/gcc/gcc…-4.2.2.tar.bz2 tar -jxvf gcc-core-4.2.2.tar.bz2 mkdir obj cd obj At this point we need to check with what options gcc was compiled at your system before. This can be done using gcc -v. You need to copy all parameters to configure command. Note how we run configure – from […]
See MoreERROR : Warning: fwrite(): supplied argument is not a valid stream
ERROR : Warning: fwrite(): supplied argument is not a valid stream resource in /home/uruser/public_html/index.php on line 359 Solution: I’m pretty sure you can stop the error if you change the premission to the config.php 777 or the sample-config.php 777… Hope that helps OR check the error line and chmod 777 that file
See More