Author Topic: How to add yaz extension to php?  (Read 750 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.

Offline
*
Re: How to add yaz extension to php?
« Reply #6 on: May 31, 2018, 02:24:49 AM »
hello,
On Windows, you have two ways to load a PHP extension: either compile it into PHP, or load the DLL. Loading a pre-compiled extension is the easiest and preferred way.

To load an extension, you need to have it available as a ".dll" file on your system. All the extensions are automatically and periodically compiled by the PHP Group (see next section for the download).

To compile an extension into PHP, please refer to building from source documentation.

To compile a standalone extension (aka a DLL file), please refer to building from source documentation. If the DLL file is available neither with your PHP distribution nor in PECL, you may have to compile it before you can start using the extension.
regards
jenifer