I have installed ee site create example.com --wpredis on Ubuntu Server 14.04. But I can’t install GeoIP Pecl for Piwik.
Regards
I have installed ee site create example.com --wpredis on Ubuntu Server 14.04. But I can’t install GeoIP Pecl for Piwik.
Regards
You will need following things Installed : PEAR/PECL (which includes the pecl executable) The GeoIP C library with development files Build tools (including GCC, make, etc.) php development files
then you will need to use ssh to install GEOIP pecl: http://piwik.org/faq/how-to/faq_164/
See what’s happened:
I think it depends on php versions. We use 5.6 in this case and we have only one php directory in /etc called “php”.
Command bellow creates another dir called “php5” in /etc.
sudo apt-get install php5-geoip php5-dev libgeoip-dev
This is the info php:
I don’t know how to compile it to working correctly
I used GeoIP PECL before but not on EE
Build process completed successfully
Installing '/usr/lib/php5/20121212+lfs/geoip.so'
Warning: fopen(${prefix}/lib/php/pear/.depdb): failed to open stream: No such file or directory in DependencyDB.php on line 549
PHP Warning: fopen(${prefix}/lib/php/pear/.depdb): failed to open stream: No such file or directory in /usr/share/php/PEAR/DependencyDB.php on line 549
PHP Fatal error: Cannot use object of type PEAR_Error as array in /usr/share/php/PEAR/DependencyDB.php on line 385
I think you should search for the location of /usr/share/php/PEAR/DependencyDB.php
and check if there is a file or not.