Warning: Cannot add header information – headers already sent by

Header Errors Warning: Cannot add header information – headers already sent by (output started at /home/uruser/www/errors.php:9) in…. Warning: Cannot send session cache limiter – headers already sent in phpfile.php on line 121 Naturally, HTML will parse before PHP. The script is trying to send header information after you’ve already sent output to the browser. HTTP […]

See More

Install mod_geoip: How to ?

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 More

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 More