简体   繁体   中英

How do I install this PECL package (PDO_4D) on PHP 7.1 on Red Hat 7?

I want to install the following PECL package (PDO-4D) on a Red Hat 7 server running PHP 7.1:

https://pecl.php.net/package/PDO_4D

The documentation doesn't seem to explain how to do this, so how do I do this?

The PDO_4D package available on PECL is not the most up-to-date.

You will find updated packages on Github, for example, here . The github repository has instructions for installing from source:

BUILDING ON UNIX etc.

To compile your new extension, you will have to execute the following steps:

  1. $ phpize
  2. $ ./configure --with-pdo_4d
  3. $ make clean
  4. $ make
  5. $ make test
  6. $ [sudo] make install

You could follow these same instructions for the source files downloaded from PECL.


An alternative approach for installing the PECL extension is to use PEAR like this:

pear install PECL/PDO_4D

You may need to make sure that pear is setup first before running that.


There is also a Technical Note that was published in 2011 regarding installing PDO_4D on Linux, although the document was written for Debian, not Red Hat.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM