Install phpPgAdmin on Centos 6.3

How to  Install phpPgAdmin on Centos 6.3


1. Before installing phpPgAdmin, we need install epel repository

2. Install phpPgAdmin to manage postgresql

[root@localhost ~]# yum install phpPgAdmin
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base:
* epel:
* extras:
* updates:
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package phpPgAdmin.noarch 0:5.0.4-1.el6 will be installed
–> Processing Dependency: php-pgsql >= 4.2 for package: phpPgAdmin-5.0.4-1.el6.noarch
–> Running transaction check
—> Package php-pgsql.x86_64 0:5.3.3-14.el6_3 will be installed
–> Finished Dependency ResolutionDependencies Resolved=====================================================================================================================================================================================================
Package Arch Version Repository Size
phpPgAdmin noarch 5.0.4-1.el6 epel 909 k
Installing for dependencies:
php-pgsql x86_64 5.3.3-14.el6_3 updates 68 k

Transaction Summary
Install 2 Package(s)

Total download size: 978 k
Installed size: 4.9 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): php-pgsql-5.3.3-14.el6_3.x86_64.rpm | 68 kB 00:00
(2/2): phpPgAdmin-5.0.4-1.el6.noarch.rpm | 909 kB 00:04
Total 29 kB/s | 978 kB 00:33
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php-pgsql-5.3.3-14.el6_3.x86_64 1/2
Installing : phpPgAdmin-5.0.4-1.el6.noarch 2/2
Non-fatal POSTIN scriptlet failure in rpm package phpPgAdmin-5.0.4-1.el6.noarch
warning: %post(phpPgAdmin-5.0.4-1.el6.noarch) scriptlet failed, exit status 7
Verifying : php-pgsql-5.3.3-14.el6_3.x86_64 1/2
Verifying : phpPgAdmin-5.0.4-1.el6.noarch 2/2

phpPgAdmin.noarch 0:5.0.4-1.el6

Dependency Installed:
php-pgsql.x86_64 0:5.3.3-14.el6_3

[root@localhost ~]#

3. Configure allow in HTTP configuration

[root@localhost conf.d]# cat /etc/httpd/conf.d/phpPgAdmin.conf
# This configuration file maps the phpPgAdmin directory into the URL space.
# By default this application is only accessible from the local host.
#Alias /phpPgAdmin /usr/share/phpPgAdmin<Location /phpPgAdmin>
Order deny,allow
Deny from all
Allow from all
Allow from ::1
# Allow from

[root@localhost conf.d]#

4. Restart HTTPD service and web browser to phpPgAdmin

[root@localhost conf.d]# /etc/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server’s fully qualified domain name, using localhost.localdomain for ServerName
[ OK ]

That’s all. Thanks for using


Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>