Last active
April 19, 2019 07:39
-
-
Save hrvoj3e/7a3512a7d04571556f0aa6d23ecb80df to your computer and use it in GitHub Desktop.
Install YAZ for PHP 7.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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