I want to install drupal7 congifiguration with postgresql9 .
wget http://ftp.drupal.org/files/projects/drupal-7.15.tar.gz
tar zxvf drupal-7.15.tar.gz
sudo mv drupal-7.15/* /var/www/
cd /var/www/
cp sites/default/default.settings.php sites/default/settings.php
chmod a+w sites/default/settings.php
chmod a+w sites/default
createuser --pwprompt --encrypted --no-adduser
--no-createdb username
createdb --encoding=UNICODE --owner=username databasename
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
It’s not very intuitive, but the real problem is not the big red error message. It’s the smaller text:
You don’t seem to have the Postgres PHP extension installed, so Drupal is not detecting your Postgres instance. The error is it trying to connect to MySql. You can install it with:
Once that is installed, you should now be able to select Postgres as your database.