Moodle // PHP - PGSQL extension Error

I´m on a fresh installed VServer with new a Yunohost and try to add moodle…

installation did work yestaday just fine but today I get this error:

Error: database driver problem detected
The site administrator should verify server configuration
PHP has not been properly configured with the PGSQL extension so that it can communicate with PostgreSQL. Please check your php.ini file or recompile PHP.

did a reinstall and now it works againg but how long??
during installtion I got this warning:

Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.

does this mean anything?

in the forum liberodark Change Postgres to MariaDB · Issue #7 · YunoHost-Apps/moodle_ynh · GitHub
writes it is better to use MariaDB.
But how can i use MariaDB during the installation?
thanks for any help

after reinstall moodle was running find for tow days but now I have this error again:

Error: database driver problem detected
The site administrator should verify server configuration
PHP has not been properly configured with the PGSQL extension so that it can communicate with PostgreSQL. Please check your php.ini file or recompile PHP.

don´t know what to do…
need help badly… please…

here are the PostgreSQL settings in the php.ini file:

[PostgreSQL]
; Allow or prevent persistent links.
; PHP: Runtime Configuration - Manual
pgsql.allow_persistent = On

; Detect broken persistent links always with pg_pconnect().
; Auto reset feature requires a little overheads.
; PHP: Runtime Configuration - Manual
pgsql.auto_reset_persistent = Off

; Maximum number of persistent links. -1 means no limit.
; PHP: Runtime Configuration - Manual
pgsql.max_persistent = -1

; Maximum number of links (persistent+non persistent). -1 means no limit.
; PHP: Runtime Configuration - Manual
pgsql.max_links = -1

; Ignore PostgreSQL backends Notice message or not.
; Notice message logging require a little overheads.
; PHP: Runtime Configuration - Manual
pgsql.ignore_notice = 0

; Log PostgreSQL backends Notice message or not.
; Unless pgsql.ignore_notice=0, module cannot log notice message.
; PHP: Runtime Configuration - Manual
pgsql.log_notice = 0

does this look good or can I try something els?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.