Skip to content

Instantly share code, notes, and snippets.

@hrvoj3e
Last active Apr 19, 2019
Embed
What would you like to do?
Install YAZ for PHP 7.2
## PHP 7.2
apt install yaz php7.2-dev php7.2-pear libyaz5-dev
pecl channel-update pecl.php.net
pecl install yaz
## Installing '/usr/lib/php/20170718/yaz.so'
echo 'extension=yaz.so' > /etc/php/7.2/mods-available/yaz.ini
ln -s /etc/php/7.2/mods-available/yaz.ini /etc/php/7.2/fpm/conf.d/20-yaz.ini
ln -s /etc/php/7.2/mods-available/yaz.ini /etc/php/7.2/cli/conf.d/20-yaz.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment