Author Topic: How to add yaz extension to php?  (Read 1098 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to add yaz extension to php?
« 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
« Last Edit: April 09, 2018, 10:55:21 AM by anthonytaylor121 »

Offline
*
Re: How to add yaz extension to php?
« Reply #1 on: April 11, 2018, 11:44:02 AM »
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.

Offline
*
Re: How to add yaz extension to php?
« Reply #2 on: April 11, 2018, 09:33:42 PM »
Thanks I changed to php 7.1.0  and installed fine.  How do I enable the extension?

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

Offline
*****
Re: How to add yaz extension to php?
« Reply #4 on: April 12, 2018, 07:45:23 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

Code: [Select]
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 :
Code: [Select]
extension=yaz.so

Offline
*
Re: How to add yaz extension to php?
« Reply #5 on: April 13, 2018, 02:46:07 PM »
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

Code: [Select]
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 :
Code: [Select]
extension=yaz.so

Thanks the second option worked a treat.