Skip to content

Commit 2fa5ef3

Browse files
committed
pdo_pgsql documentation
1 parent f66be86 commit 2fa5ef3

File tree

18 files changed

+62
-48
lines changed

18 files changed

+62
-48
lines changed

README.fr.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ Nous sommes une communauté amicale.
3333
* Fonctionne même sur un Raspberry Pi 1 avec des temps de réponse < 1s (testé sur 150 flux, 22k articles)
3434
* Serveur Web Apache2 (recommandé), ou nginx, lighttpd (non testé sur les autres)
3535
* PHP 5.3.3+ (PHP 5.4+ recommandé, et PHP 5.5+ pour les performances, et PHP 7+ pour d’encore meilleures performances)
36-
* Requis : [DOM](http://php.net/dom), [XML](http://php.net/xml), [PDO_MySQL](http://php.net/pdo-mysql) ou [PDO_SQLite](http://php.net/pdo-sqlite), [cURL](http://php.net/curl)
36+
* Requis : [DOM](http://php.net/dom), [XML](http://php.net/xml), [PDO_MySQL](http://php.net/pdo-mysql) ou [PDO_SQLite](http://php.net/pdo-sqlite) ou [PDO_PGSQL](http://php.net/pdo-pgsql), [cURL](http://php.net/curl)
3737
* Recommandés : [JSON](http://php.net/json), [GMP](http://php.net/gmp) (pour accès API sur plateformes < 64 bits), [IDN](http://php.net/intl.idn) (pour les noms de domaines internationalisés), [mbstring](http://php.net/mbstring) et/ou [iconv](http://php.net/iconv) (pour conversion d’encodages), [Zip](http://php.net/zip) (pour import/export), [zlib](http://php.net/zlib) (pour les flux compressés)
38-
* MySQL 5.5.3+ (recommandé) ou SQLite 3.7.4+
38+
* MySQL 5.5.3+ (recommandé), ou SQLite 3.7.4+, ou PostgreSQL
3939
* Un navigateur Web récent tel Firefox, Internet Explorer 11 / Edge, Chrome, Opera, Safari.
4040
* Fonctionne aussi sur mobile
4141

@@ -56,13 +56,20 @@ Nous sommes une communauté amicale.
5656
```sh
5757
# Si vous utilisez le serveur Web Apache (sinon il faut un autre serveur Web)
5858
sudo apt-get install apache2
59-
sudo a2enmod headers expires rewrite ssl
60-
# (optionnel) Si vous voulez un serveur de base de données MySQL
61-
sudo apt-get install mysql-server mysql-client php5-mysql
62-
# Composants principaux (pour Ubuntu <= 15.10, Debian <= 8 Jessie)
59+
sudo a2enmod headers expires rewrite ssl #Modules Apache
60+
61+
# Pour Ubuntu <= 15.10, Debian <= 8 Jessie
6362
sudo apt-get install php5 php5-curl php5-gmp php5-intl php5-json php5-sqlite
64-
# Composants principaux (pour Ubuntu >= 16.04, Debian >= 9 Stretch)
65-
sudo apt install php libapache2-mod-php php-curl php-gmp php-intl php-mbstring php-sqlite3 php-xml php-zip
63+
sudo apt-get install libapache2-mod-php5 #Pour Apache
64+
sudo apt-get install mysql-server mysql-client php5-mysql #Base de données MySQL optionnelle
65+
sudo apt-get install postgresql php5-pgsql #Base de données PostgreSQL optionnelle
66+
67+
# Pour Ubuntu >= 16.04, Debian >= 9 Stretch
68+
sudo apt install php php-curl php-gmp php-intl php-mbstring php-sqlite3 php-xml php-zip
69+
sudo apt install libapache2-mod-php #Pour Apache
70+
sudo apt install mysql-server mysql-client php-mysql #Base de données MySQL optionnelle
71+
sudo apt install postgresql php-pgsql #Base de données PostgreSQL optionnelle
72+
6673
# Redémarrage du serveur Web
6774
sudo service apache2 restart
6875

README.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ We are a friendly community.
3333
* It even works on Raspberry Pi 1 with response time under a second (tested with 150 feeds, 22k articles)
3434
* A web server: Apache2 (recommended), nginx, lighttpd (not tested on others)
3535
* PHP 5.3.3+ (PHP 5.4+ recommended, and PHP 5.5+ for performance, and PHP 7 for even higher performance)
36-
* Required extensions: [DOM](http://php.net/dom), [XML](http://php.net/xml), [PDO_MySQL](http://php.net/pdo-mysql) or [PDO_SQLite](http://php.net/pdo-sqlite), [cURL](http://php.net/curl)
36+
* Required extensions: [DOM](http://php.net/dom), [XML](http://php.net/xml), [PDO_MySQL](http://php.net/pdo-mysql) or [PDO_SQLite](http://php.net/pdo-sqlite) or [PDO_PGSQL](http://php.net/pdo-pgsql), [cURL](http://php.net/curl)
3737
* Recommended extensions: [JSON](http://php.net/json), [GMP](http://php.net/gmp) (for API access on platforms < 64 bits), [IDN](http://php.net/intl.idn) (for Internationalized Domain Names), [mbstring](http://php.net/mbstring) and/or [iconv](http://php.net/iconv) (for charset conversion), [Zip](http://php.net/zip) (for import/export), [zlib](http://php.net/zlib) (for compressed feeds)
38-
* MySQL 5.5.3+ (recommended) or SQLite 3.7.4+
38+
* MySQL 5.5.3+ (recommended), or SQLite 3.7.4+, or PostgreSQL
3939
* A recent browser like Firefox, Internet Explorer 11 / Edge, Chrome, Opera, Safari.
4040
* Works on mobile
4141

@@ -56,13 +56,20 @@ We are a friendly community.
5656
```sh
5757
# If you use an Apache Web server (otherwise you need another Web server)
5858
sudo apt-get install apache2
59-
sudo a2enmod headers expires rewrite ssl
60-
# (Optional) If you want a MySQL database server
61-
sudo apt-get install mysql-server mysql-client php5-mysql
62-
# Main components (for Ubuntu <= 15.10, Debian <= 8 Jessie)
59+
sudo a2enmod headers expires rewrite ssl #Apache modules
60+
61+
# For Ubuntu <= 15.10, Debian <= 8 Jessie
6362
sudo apt-get install php5 php5-curl php5-gmp php5-intl php5-json php5-sqlite
64-
# Main components (for Ubuntu >= 16.04, Debian >= 9 Stretch)
65-
sudo apt install php libapache2-mod-php php-curl php-gmp php-intl php-mbstring php-sqlite3 php-xml php-zip
63+
sudo apt-get install libapache2-mod-php5 #For Apache
64+
sudo apt-get install mysql-server mysql-client php5-mysql #Optional MySQL database
65+
sudo apt-get install postgresql php5-pgsql #Optional PostgreSQL database
66+
67+
# For Ubuntu >= 16.04, Debian >= 9 Stretch
68+
sudo apt install php php-curl php-gmp php-intl php-mbstring php-sqlite3 php-xml php-zip
69+
sudo apt install libapache2-mod-php #For Apache
70+
sudo apt install mysql-server mysql-client php-mysql #Optional MySQL database
71+
sudo apt install postgresql php-pgsql #Optional PostgreSQL database
72+
6673
# Restart Web server
6774
sudo service apache2 restart
6875

app/i18n/cz/admin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
'ok' => 'Máte požadovanou knihovnu pro regulární výrazy (PCRE).',
7272
),
7373
'pdo' => array(
74-
'nok' => 'Nemáte PDO nebo některý z podporovaných ovladačů (pdo_mysql, pdo_sqlite).',
75-
'ok' => 'Máte PDO a alespoň jeden z podporovaných ovladačů (pdo_mysql, pdo_sqlite).',
74+
'nok' => 'Nemáte PDO nebo některý z podporovaných ovladačů (pdo_mysql, pdo_sqlite, pdo_pgsql).',
75+
'ok' => 'Máte PDO a alespoň jeden z podporovaných ovladačů (pdo_mysql, pdo_sqlite, pdo_pgsql).',
7676
),
7777
'php' => array(
7878
'_' => 'PHP instalace',

app/i18n/cz/install.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@
7373
'ok' => 'Máte požadovanou knihovnu pro regulární výrazy (PCRE).',
7474
),
7575
'pdo' => array(
76-
'nok' => 'Nemáte PDO nebo některý z podporovaných ovladačů (pdo_mysql, pdo_sqlite).',
77-
'ok' => 'Máte PDO a alespoň jeden z podporovaných ovladačů (pdo_mysql, pdo_sqlite).',
76+
'nok' => 'Nemáte PDO nebo některý z podporovaných ovladačů (pdo_mysql, pdo_sqlite, pdo_pgsql).',
77+
'ok' => 'Máte PDO a alespoň jeden z podporovaných ovladačů (pdo_mysql, pdo_sqlite, pdo_pgsql).',
7878
),
7979
'php' => array(
8080
'nok' => 'Vaše verze PHP je %s, ale FreshRSS vyžaduje alespoň verzi %s.',

app/i18n/de/admin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
'ok' => 'Sie haben die benötigte Bibliothek für reguläre Ausdrücke (PCRE).',
7272
),
7373
'pdo' => array(
74-
'nok' => 'Ihnen fehlt PDO oder einer der unterstützten Treiber (pdo_mysql, pdo_sqlite).',
75-
'ok' => 'Sie haben PDO und mindestens einen der unterstützten Treiber (pdo_mysql, pdo_sqlite).',
74+
'nok' => 'Ihnen fehlt PDO oder einer der unterstützten Treiber (pdo_mysql, pdo_sqlite, pdo_pgsql).',
75+
'ok' => 'Sie haben PDO und mindestens einen der unterstützten Treiber (pdo_mysql, pdo_sqlite, pdo_pgsql).',
7676
),
7777
'php' => array(
7878
'_' => 'PHP-Installation',

app/i18n/de/install.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@
7373
'ok' => 'Sie haben die benötigte Bibliothek für reguläre Ausdrücke (PCRE).',
7474
),
7575
'pdo' => array(
76-
'nok' => 'Ihnen fehlt PDO oder einer der unterstützten Treiber (pdo_mysql, pdo_sqlite).',
77-
'ok' => 'Sie haben PDO und mindestens einen der unterstützten Treiber (pdo_mysql, pdo_sqlite).',
76+
'nok' => 'Ihnen fehlt PDO oder einer der unterstützten Treiber (pdo_mysql, pdo_sqlite, pdo_pgsql).',
77+
'ok' => 'Sie haben PDO und mindestens einen der unterstützten Treiber (pdo_mysql, pdo_sqlite, pdo_pgsql).',
7878
),
7979
'php' => array(
8080
'nok' => 'Ihre PHP-Version ist %s aber FreshRSS benötigt mindestens Version %s.',

app/i18n/en/admin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
'ok' => 'You have the required library for regular expressions (PCRE).',
7272
),
7373
'pdo' => array(
74-
'nok' => 'You lack PDO or one of the supported drivers (pdo_mysql, pdo_sqlite).',
75-
'ok' => 'You have PDO and at least one of the supported drivers (pdo_mysql, pdo_sqlite).',
74+
'nok' => 'You lack PDO or one of the supported drivers (pdo_mysql, pdo_sqlite, pdo_pgsql).',
75+
'ok' => 'You have PDO and at least one of the supported drivers (pdo_mysql, pdo_sqlite, pdo_pgsql).',
7676
),
7777
'php' => array(
7878
'_' => 'PHP installation',

app/i18n/en/install.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@
7373
'ok' => 'You have the required library for regular expressions (PCRE).',
7474
),
7575
'pdo' => array(
76-
'nok' => 'You lack PDO or one of the supported drivers (pdo_mysql, pdo_sqlite).',
77-
'ok' => 'You have PDO and at least one of the supported drivers (pdo_mysql, pdo_sqlite).',
76+
'nok' => 'You lack PDO or one of the supported drivers (pdo_mysql, pdo_sqlite, pdo_pgsql).',
77+
'ok' => 'You have PDO and at least one of the supported drivers (pdo_mysql, pdo_sqlite, pdo_pgsql).',
7878
),
7979
'php' => array(
8080
'nok' => 'Your PHP version is %s but FreshRSS requires at least version %s.',

app/i18n/fr/admin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
'ok' => 'Vous disposez du nécessaire pour les expressions régulières (PCRE).',
7272
),
7373
'pdo' => array(
74-
'nok' => 'Vous ne disposez pas de PDO ou d’un des drivers supportés (pdo_mysql, pdo_sqlite).',
75-
'ok' => 'Vous disposez de PDO et d’au moins un des drivers supportés (pdo_mysql, pdo_sqlite).',
74+
'nok' => 'Vous ne disposez pas de PDO ou d’un des drivers supportés (pdo_mysql, pdo_sqlite, pdo_pgsql).',
75+
'ok' => 'Vous disposez de PDO et d’au moins un des drivers supportés (pdo_mysql, pdo_sqlite, pdo_pgsql).',
7676
),
7777
'php' => array(
7878
'_' => 'Installation de PHP',

app/i18n/fr/install.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@
7373
'ok' => 'Vous disposez du nécessaire pour les expressions régulières (PCRE).',
7474
),
7575
'pdo' => array(
76-
'nok' => 'Vous ne disposez pas de PDO ou d’un des drivers supportés (pdo_mysql, pdo_sqlite).',
77-
'ok' => 'Vous disposez de PDO et d’au moins un des drivers supportés (pdo_mysql, pdo_sqlite).',
76+
'nok' => 'Vous ne disposez pas de PDO ou d’un des drivers supportés (pdo_mysql, pdo_sqlite, pdo_pgsql).',
77+
'ok' => 'Vous disposez de PDO et d’au moins un des drivers supportés (pdo_mysql, pdo_sqlite, pdo_pgsql).',
7878
),
7979
'php' => array(
8080
'nok' => 'Votre version de PHP est la %s mais FreshRSS requiert au moins la version %s.',

0 commit comments

Comments
 (0)