![]() # Red Hat Enterprise Linux 5 - x86_64 - 64-bit # # Red Hat Enterprise Linux 5 - i386 - 32-bit # # Red Hat Enterprise Linux 6 - x86_64 - 64-bit # Red Hat (RHEL) # Red Hat Enterprise Linux 6 - i386 - 32-bit # Red Hat (RHEL) Add exclude to /etc/yum/pluginconf.d/nf file section: Įxclude=postgresql* Install PostgreSQL 9.2 Repository Fedora Add exclude to /etc//fedora.repo file section: Īdd exclude to /etc//fedora-updates.repo file section: ĬentOS Add exclude to /etc//CentOS-Base.repo file and sections: Exclude PostgreSQL packages from the repository of the distro. Install PostgreSQL 9.2.1 Database Server on Fedora, CentOS/RHELĮxclude Fedora, CentOS, RHEL own PostgreSQL Packages This is important step to get PostgreSQL repository working properly. Note: If you are upgrading PostgresSQL (from earlier version), then make sure that you backup (dump and copy) your database and configs. This guide uses PostgreSQL own YUM repos, which are always up-to-date and stable releases are available instantly. I can connect from MacOs development environment, but not from the Centos server.This is guide, howto install PostgreSQL 9.2 database server on Fedora, CentOS/RHEL. However, I don't think these options should be necessary for Centos 7.4, PHP 7.4. You could try running: rpm -Va -nofiles -nodigest You could try using -skip-broken to work around the problem They said use command: yum install php-pgsqlīut this command will give me error for package conflict and list of required: Error: Package: php-pgsql-5.4.86_64 (base) I also tried other tutorials but most are for PHP 5 and not for PHP 7.4. I also tried installing PostgreSQL on the server, but I don't think I need since the connection is remote server. Checking phpinfo() page does not show PDO driver for PostgreSQL installed, and checking has no output for pgsql. I found another possible driver: yum install php72w-pdo I ran command to install driver: yum install php7.4-pgsql ![]() I get the error from PDO when trying to connect to PostgreSQL: Database Connection Error: could not find driver ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |