How to add yaz extension to php?

Started by anthonytaylor121, April 09, 2018, 10:47:10 AM

Previous topic - Next topic

anthonytaylor121

Hi I run a joomla site and one of its components requires the yaz extension.  How do I find and install yaz extension.

Thanks in advance for your help :)

I am running PHP version: 7.2.0

studio4host

NOTICE: 7.2 is developer version and not recommended for production

You can find info here for builing custom configuration
http://wiki.centos-webpanel.com/php-version-switcher
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

anthonytaylor121

Thanks I changed to php 7.1.0  and installed fine.  How do I enable the extension?

24x7servermanagement

https://www.24x7servermanagement.com/
Server Management, Server Security, Server Monitoring.
India's Leading Managed Service Provider !!

Sandeep

Quote from: anthonytaylor121 on April 09, 2018, 10:47:10 AM
Hi I run a joomla site and one of its components requires the yaz extension.  How do I find and install yaz extension.

Thanks in advance for your help :)

I am running PHP version: 7.2.0


cd /root
wget http://ftp.indexdata.dk/pub/yaz/yaz-5.23.1.tar.gz
tar -zxvf yaz-5.23.1.tar.gz
cd yaz-5.23.1
./configure
make
make install

cd /root
wget https://pecl.php.net/get/yaz-1.2.2.tgz
tar -zxvf yaz-1.2.2.tgz
cd yaz-1.2.2
phpize
./configure
make
make install


add this line to php.ini :

extension=yaz.so

anthonytaylor121

Quote from: Sandeep on April 12, 2018, 07:45:23 AM
Quote from: anthonytaylor121 on April 09, 2018, 10:47:10 AM
Hi I run a joomla site and one of its components requires the yaz extension.  How do I find and install yaz extension.

Thanks in advance for your help :)

I am running PHP version: 7.2.0


cd /root
wget http://ftp.indexdata.dk/pub/yaz/yaz-5.23.1.tar.gz
tar -zxvf yaz-5.23.1.tar.gz
cd yaz-5.23.1
./configure
make
make install

cd /root
wget https://pecl.php.net/get/yaz-1.2.2.tgz
tar -zxvf yaz-1.2.2.tgz
cd yaz-1.2.2
phpize
./configure
make
make install


add this line to php.ini :

extension=yaz.so


Thanks the second option worked a treat.