Control Web Panel

WebPanel => Installation => Topic started by: Twinlan on September 18, 2018, 02:52:47 PM

Title: I cant install mod_geoip for php 7.0 (php selector)
Post by: Twinlan on September 18, 2018, 02:52:47 PM
I have a CWP with CentOs 6
PHP version: 5.4.27  [PHP Switcher]

I installed mod_geoip:

yum install mod_geoip geoip-devel

/etc/init.d/httpd restart



cd /usr/local/src/
wget http://pecl.php.net/get/geoip-1.0.8.tgz
tar -zxvf geoip-1.0.8.tgz
cd geoip-1.0.8
/usr/local/bin/phpize
./configure --with-php-config=/usr/local/bin/php-config
make
make install



php -m | grep geoip​

This perfect on php 5.6, but a client modify .htaccess for use php 7.0, but no charge mod_geoip in this version.

How I can solve the problem ¿?