How To Install php-pecl-pq on Fedora 36
Introduction
In this tutorial we learn how to install php-pecl-pq
on Fedora 36.
What is php-pecl-pq
PostgreSQL client library (libpq) binding. Documents Highlights * Nearly complete support for asynchronous usage * Extended type support by pg_type * Fetching simple multi-dimensional array maps * Working Gateway implementation
We can use yum
or dnf
to install php-pecl-pq
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-pecl-pq.
Install php-pecl-pq on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install php-pecl-pq
using dnf
by running the following command:
sudo dnf -y install php-pecl-pq
Install php-pecl-pq on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install php-pecl-pq
using yum
by running the following command:
sudo yum -y install php-pecl-pq
How To Uninstall php-pecl-pq on Fedora 36
To uninstall only the php-pecl-pq
package we can use the following command:
sudo dnf remove php-pecl-pq
php-pecl-pq Package Contents on Fedora 36
/etc/php-zts.d/50-pq.ini
/etc/php.d/50-pq.ini
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/da9252fabf4df78a640b9306e713a61637fea5
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/5588ba3e01bb8c68cfac814eeda6646a88eddc
/usr/lib64/php-zts/modules/pq.so
/usr/lib64/php/modules/pq.so
/usr/share/doc/pecl/pq
/usr/share/doc/pecl/pq/AUTHORS
/usr/share/doc/pecl/pq/BUGS
/usr/share/doc/pecl/pq/CONTRIBUTING.md
/usr/share/doc/pecl/pq/CREDITS
/usr/share/doc/pecl/pq/README.md
/usr/share/doc/pecl/pq/THANKS
/usr/share/doc/pecl/pq/TODO
/usr/share/licenses/php-pecl-pq
/usr/share/licenses/php-pecl-pq/LICENSE
/var/lib/php/peclxml/php-pecl-pq.xml
References
Summary
In this tutorial we learn how to install php-pecl-pq
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).