Can't install geoip (php module) using Pecl
Hello,
I'm trying to install php geoip using pecl and I'm getting following error:
Warning: require_once(Archive/Tar.php): failed to open stream: No such file or directory in PEAR/PackageFile.php on line 305
Warning: require_once(Archive/Tar.php): failed to open stream: No such file or directory in /usr/local/lib/php/PEAR/PackageFile.php on line 305
Fatal error: require_once(): Failed opening required 'Archive/Tar.php' (include_path='/usr/local/lib/php') in /usr/local/lib/php/PEAR/PackageFile.php on line 305
Is there any solution for this? Is that possible to reinstall Pecl?
Thanks,
Karlos
-
What is your current cPanel tier ? Stable ? 0 -
Hello, It is 11.38.2 build (7). Thanks 0 -
Hello :) Please try running the following command: mv /usr/local/lib/php/PEAR /usr/local/lib/php/PEAR-backup
Then, rebuild Apache/PHP via EasyApache to generate a new copy of this directory. Thank you.0 -
Hello, Thank you. 0
Please sign in to leave a comment.
Comments
4 comments