Configure PostgreSQL and phpPgAdmin in WAMP
As i told earlier am trying to switch to Flex , i am trying to learn connection between PHP and Flex. When searched i got a excellent tutorial . But the problem is that it uses PostgreSQL. As i don't have any prior experience in PostgreSQL i try to install it in my Windows 7 and configure it in WAMP . I got different errors and spend almost two days in searching and using different methods . Atlast i got it right. I will try to figure out the steps i have done.
Am using
Install WAMP server where ever you need.
Download PhpPgAdmin and unzip it to WWW folder in WAMP installation.
At this point if you try to access the http://localhost/phpPgAdmin/ you may get this error.
Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option.
This is because you need to enable two extensions.
Now try this http://localhost/phpPgAdmin/ and you will see the PostgreSQL server. Select the PostgreSQL and login using the deafult user "postgres" and the password you given when PostgreSQL installed. You may not able to login. It may say "Login disallowed for security reasons." . You need to set some parameters in \www\phpPgAdmin\conf\
find
Now you can login to PostgreSQL using phpPgAdmin and work on it. You can now create database and work on it. But If you tried to export the database you will get another error
Export error: Failed to execute pg_dump (given path in your conf/config.inc.php : /usr/bin/pg_dump). Please, fix this path in your configuration and relog.
This is because you did not set the path correctly . You need to change two other parameters in config.inc.php
Hope this post helps to configure PostgreSQL and phpPgAdmin successfully.
Am using
- PostgreSQL 9.1
- WAMP Server 2.0e
- phpPgAdmin 5.0.2
- 1. Apache Version :2.2.17
- 2. PHP Version :5.3.5
- 3. MySQL Version :5.5.8
Install WAMP server where ever you need.
Download PhpPgAdmin and unzip it to WWW folder in WAMP installation.
At this point if you try to access the http://localhost/phpPgAdmin/ you may get this error.
Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option.
This is because you need to enable two extensions.
- php_pgsql
- php_pdo_pgsql
PHP Warning: PHP Startup: Unable to load dynamic library
'D:/wamp/bin/php/php5.3.5/ext/php_pdo_oci.dll' - The specified module
could not be found.\r\n in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library
'D:/wamp/bin/php/php5.3.5/ext/php_pdo_oci.dll' - The specified module
could not be found. in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'D:/wamp/bin/php/php5.3.5/ext/php_pdo_pgsql.dll' - The specified module
could not be found.\r\n in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library
'D:/wamp/bin/php/php5.3.5/ext/php_pdo_pgsql.dll' - The specified module
could not be found. in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'D:/wamp/bin/php/php5.3.5/ext/php_pgsql.dll' - The specified module
could not be found.\r\n in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library
'D:/wamp/bin/php/php5.3.5/ext/php_pgsql.dll' - The specified module
could not be found
To correct this error you need to copy libpq.dll from wamp\bin\php\php5.3.5 to wamp\bin\apache\Apache2.2.17\bin . Then try to enable PHP extension and check apache error log you will not see the error . And pgsql will be shown in Loaded extensions in http://localhost/.Now try this http://localhost/phpPgAdmin/ and you will see the PostgreSQL server. Select the PostgreSQL and login using the deafult user "postgres" and the password you given when PostgreSQL installed. You may not able to login. It may say "Login disallowed for security reasons." . You need to set some parameters in \www\phpPgAdmin\conf\
find
$conf['extra_login_security'] = true;and change
$conf['extra_login_security'] = false;
and find$conf['owned_only'] = false;
and change it to$conf['owned_only'] = true;
Now you can login to PostgreSQL using phpPgAdmin and work on it. You can now create database and work on it. But If you tried to export the database you will get another error
Export error: Failed to execute pg_dump (given path in your conf/config.inc.php : /usr/bin/pg_dump). Please, fix this path in your configuration and relog.
This is because you did not set the path correctly . You need to change two other parameters in config.inc.php
$conf['servers'][0]['pg_dump_path'] = '/usr/bin/pg_dump';
$conf['servers'][0]['pg_dumpall_path'] = '/usr/bin/pg_dumpall';
change these params to $conf['servers'][0]['pg_dump_path'] = 'C:\Program Files\PostgreSQL\9.1\bin\pg_dump.exe';
$conf['servers'][0]['pg_dumpall_path'] = 'C:\Program Files\PostgreSQL\9.1\bin\pg_dumpall.exe';
check your PostgreSQL installation directory. Now you can export the database.Hope this post helps to configure PostgreSQL and phpPgAdmin successfully.
Comments
vé máy bay đi Mỹ
chuyến bay mỹ về việt nam
từ nhật bản về việt nam bao nhiêu tiền
vé máy bay giá rẻ từ Canada về Việt Nam
Wonderful post and more informative!keep sharing Like this!
mobile application development online course
online app development course
Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained
vé máy bay tết hà nội sài gòn
Ve may bay Vietjet
thông tin lịch bay đà nẵng
lịch bay hà nội trang trang vietjet air
giá vé máy bay khứ hồi hà nội phú quốc
ve may bay di con dao khu hoi
vé máy bay từ đà nẵng đi seoul
giá vé máy bay từ tphcm đi nhật bản
vé máy bay hà nội tokyo giá rẻ
vé máy bay eva đi đài loan
vé máy bay sài gòn taipei
vé máy bay từ sài gòn đi cao hùng
Pre Wedding Photoshoot in Kurnool
Best Bike Taxi Service in Hyderabad
Best Software Service in Hyderabad
Electric Vehicle Charging Stations
customize packaging
E Liquid shipping boxes
best-angular-training in chennai |
affordable Wedding Favor Boxes new jersey
Holiday Party boxes New York
JAVA Course in Chennai
JAVA Course in Bangalore
Blog has informative contents and thanks for sharing this.
Python Training in Chennai
Python Training in Bangalore
Your post is very useful for me. Keep posting such a great post regularly.
MS Azure Administrator Training | CCNP Training
TNPSC Portal Current Affairs Daily
tnpsc model question paper with answer
samacheer kalvi books
tnpsc group 1 exams
Emis online
Title:
Grab Oracle DBA Training in Chennai | Infycle Technologies
Description:
Set your career goal towards Oracle for a wealthy future with Infycle. Infycle Technologies is the best software training institute in Chennai, which gives the most trusted and best Oracle DBA Training in Chennai with hands-on practical training that will be guided by professional tutors in the field. In addition to this, the mock interviews will be given to the candidates, so that they can face the interviews with full confidence. Apart from all, the candidates will be placed in the top MNC's with a great salary package. To get it all, call 7502633633 and make this happen for your happy life.
Best training in Chennai
Best Oracle DBA Training in Chennai | Infycle Technologies
Description:
Want to study an Oracle course with job opportunities? Infycle is with you for this! Infycle Technologies gives the most trustworthy and the best Oracle DBA training in Chennai, which will be guided by professional tutors in the field. Along with that, the mock interviews will be assigned for the candidates, so that they can meet the job interviews with full confidence. To transform your career to the next level, call 7502633633 to Infycle Technologies and grab a free demo to get more.
best training institute in chennai
Check the Best SAP Training Institute in Delhi, NCR
SAS Training Course in Delhi with Placement Support
Best Informatica Training in Chennai
Docker Training in Chennai
MSBI Training in Chennai
Power-Bi Certification Training
Android Application Training In Chennai
Ios Application Training In Chennai
Best Software training institute
Xamarin Training in Chennai
KIIT CONNECT Program Orientation Program For 2021-Admitted Batch Students Of 14 Schools
Your blog is very nice and interesting. Your way of writing this blog forced me to read the full blog. Being a new reader, your blog increased my interest in reading. If anyone is interested for Fake Experience Certificate in Pune here we have the chance for you, Dreamsoft is providing is Fake experience certificate in Pune. To get you experience certificate in Pune you can contact at 9599119376. or can visit our website at https://experiencecertificates.com/experience-certificate-provider-in-pune.html
All our products are tested in house through hours of lashing. Each product is uniquely sourced to bring our customers the best lash products in the biz.
eyelash extension supplies | c curl lash | c curl lash extensions
RHCE Certification Training online
Oracle Performance Tuning Training
Perl Scripting Training online
Spiritual Gifts Wholesale
Lamps Wholesale
Vastu Pyramid
Nine Pyramid Plate
To make your career development the best by learning software courses by getting trained from the best software training institute in Chennai. Just select your fav... course given below.
best php training institute in chennai
RPA Training in Chennai
Azure Training in Chennai
DevOps Training in Chennai
Cloud-computing Training in Chennai
Blue-Prsim Training in Chennai
Ui-Path Training in Chennai
If someone is looking for the best training institute for software training institute in delhi , i would like to talk about the
High Technologies Solutions .
it is the best place from where you get the pratical knowledge of software testing training insitute from here .
Get software testing traning institute in training in delhi .
High Technologies Solutions is the best place for the software testing training in delhi . this institute has no. of faculty , the faculty of this institute is very supportive.
get the job placements from here
Get job placements from here.
contact us on 9311002620
visit the website for more details -https://www.htsindia.com/software-testing-training-courses
Nice blog thank you .For your Sharing It's a pleasure to read your post.It's full of information I'm looking for and I'd like to express that "The content of your post is awesome"
ASP.NET Training in Chennai
C#.NET Training In Chennai
hadoop training in chennai
Nice blog thank you .For your Sharing It's a pleasure to read your post.It's full of information I'm looking for and I'd like to express that "The content of your post is awesome"
Aimore Tech is the Best Software training institute in chennai with 6+ years of experience. We are offering online and classroom Trainings.ccna training in chennai
javascript training in chennai
mysql training in chennai
unix training in chennai
hadoop training in velachery
Big data training in chennai
trishul om swastik
mogu mogu drink
muthuchippi book
please keep updated us more about like this type of blog.
If someone is looking for the best java training institute for software training in Ghaziabad, java training institute
It is the best place from where you get the practical knowledge of java training institute here. You will be an expert in this field after doing the java training.
Nice post By reading your blog, i get inspired and this provides some useful information.
Virginia Military Divorce
Woman Divorce Lawyers Near Me
Fairfax Divorce Attorney
pvc foam board manufacturers in kerala
pvc foam board manufacturers kerala
For more info Contact us: +91-9654271931, +971-505593798 or visit Online Tuition for Class 11
For more info contact +91-9654271931 or visit Online tuition for cbse board
SQL training in Pune
SQL Classes in Pune
SQL training in Pune
For more info Contact us: +91-9654271931, +971-505593798 or visit Online tutoring sites for class 11
also, check SQL training in Pune
For more info Contact us: +91-9654271931, +971-505593798 or visit Private tuition classes for class 11
For more info contact +91-9654271931 or visit Best CBSE Online Tuition
SQL Trainnig in Hyderabad
java full stack course in warangal
Our alternate treatments aren’t just good for the environment. They’re also good for your pocketbook. In most cases, Ecola’s non-chemical treatments are the most convenient and economical methods to rid your home or business of pesky pests.
SQL course in Pune
For those interested in diving deeper into database management and software development, I recommend checking outherefor comprehensive learning resources. If you're looking to develop advanced software solutions or need professional services, is a great place to explore.
bca internship | internship for bca students | sql internship | online internship for btech students | internship for 1st year engineering students