We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Vesta и установка GeoIP (решено)
Vesta и установка GeoIP (решено)
Добрый день!
Устанавливаю на сервер GeoIP по этой статье http://yournet.kz/blog/os/linux/kak-ust ... p-v-centos
Epel легко встал с команды
Но при попытке установить модуль, ловлю ошибку
Поискал на форуме решение, не нашел. Подскажите, как надо правильно сделать? Заранее благодарю!
UPD: в папке /usr/lib/php/modules файла geoip.so нет.
Vesta последняя.
Centos 6 x64.
UPD2: убивать реми из-за девела не пойдет. Нужна стабильность в системе.
UPD3: Проблема решена по этой статье https://toster.ru/q/225700
Устанавливаю на сервер GeoIP по этой статье http://yournet.kz/blog/os/linux/kak-ust ... p-v-centos
Epel легко встал с команды
Code: Select all
sudo yum install epel-release
Code: Select all
[user@s tmp]# gunzip ./GeoIP.dat.gz
[user@s tmp]# rm /usr/share/GeoIP/GeoIP.dat
rm: remove regular file `/usr/share/GeoIP/GeoIP.dat'? mv ./GeoIP.dat /usr/share/GeoIP/GeoIP.dat
[user@s tmp]# echo "extension=geoip.so" >>/etc/php.ini
[user@s tmp]# pecl install geoip
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/geoip.so' - /usr/lib/php/modules/geoip.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/geoip.so' - /usr/lib/php/modules/geoip.so: cannot open shared object file: No such file or directory in Unknown on line 0
downloading geoip-1.0.8.tgz ...
Starting to download geoip-1.0.8.tgz (10,061 bytes)
.....done: 10,061 bytes
5 source files, building
running: phpize
Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
ERROR: `phpize' failed
UPD: в папке /usr/lib/php/modules файла geoip.so нет.
Vesta последняя.
Centos 6 x64.
UPD2: убивать реми из-за девела не пойдет. Нужна стабильность в системе.
Code: Select all
yum --enablerepo=remi install php-devel