0 Members and 1 Guest are viewing this topic.
Does not work with cwp7I tried all solutions from the forum and from google resultsWith apache only selected returns the cloudflare IPwith apache + nginx returns the server IPsome with varnish or all 3maybe someone know the solution
yum -y install geoip-develcd /tmpwget http://pecl.php.net/get/geoip-1.0.8.tgztar -zxvf geoip-1.0.8.tgzcd geoip-1.0.8/usr/local/bin/phpize./configure --with-php-config=/usr/local/bin/php-configmakemake install3. After "make install" command execution done you will get a line stating the shared extension directory path. For Example : some text /usr/lib64/extensions/no-debug-non-zts-201312264. Copy that directory path only. Then go to your php.ini file editor.5. Go to the bottom of the file and paste : extension_dir = the path you copied from the make install completion.6. After the extension_dir line put : extension=geoip.so7. Restart Apache and to verify the module, use this command : php -m