This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Installation / I cant install mod_geoip for php 7.0 (php selector)
« 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 ¿?
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 ¿?
Pages: [1]