---
title: "Discussion on \"Install PHP-FPM PostgreSQL Ubuntu Server\" | Hashnode"
description: "Discussion on \"Install PHP-FPM PostgreSQL Ubuntu Server\". Install the PostgreSQL Database Server Package\n\nAdd the PostgreSQL repository to your server's APT sources.\n $ sudo sh -c 'echo \"deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main\" > /etc/apt/sources.list.d/pgdg.list'\n\n\nImport t..."
url: "https://hashnode.com/posts/install-php-fpm-postgresql-ubuntu-server/64d9ddfc65ada34114abb5b4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Install PHP-FPM PostgreSQL Ubuntu Server](https://blog.andrizan.com/install-php-fpm-postgresql-ubuntu-server?utm_source=hashnode&utm_medium=feed)

Install the PostgreSQL Database Server Package Add the PostgreSQL repository to your server's APT sources. $ sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb\_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' Import t...

Aug 14, 2023 · 3 min read · blog.andrizan.com  
Updated Jan 20, 2025  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#fpm](https://hashnode.com/tag/fpm)

## Written by

[andrizan](https://hashnode.com/@andrizan)

@andrizan

  
[View profile](https://hashnode.com/@andrizan)

code

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
