Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-05-08, 18:09:39

Author Topic: php-pgsql for php53.28 is not available!  (Read 2475 times)

0 Members and 1 Guest are viewing this topic.

Offline mbagheri

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
php-pgsql for php53.28 is not available!
« on: 2014-08-20, 11:41:00 »
Hi
I've installed postgresql 9.3 and phpPgAdmin. but when I browse the phpPgAdmin, I receive this error:
 "Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option."

I found out, this happens because php-pgsql is not installed, so when I try to install php-pgsql by this command: "yum install php-pgsql", the available php-pgsql is for php 5.3.27
therefore it's not possible to install it.
What should I do?

regards

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php-pgsql for php53.28 is not available!
« Reply #1 on: 2014-08-21, 19:51:27 »
For default, php is php53u. So, use 'yum install php53u-pgsql.

To know your php version/branch, go to 'webserver configures' or 'yum list installed php*'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mbagheri

  • Junior Member
  • *
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: php-pgsql for php53.28 is not available!
« Reply #2 on: 2014-08-22, 11:15:22 »
Thanks Mustafa,
After I installed php53u-pgsql, I restarted the web server and it worked. also the php version has been updated to 5.3.29.


 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.044 seconds with 23 queries.

web stats analysis