PHP: Runtime Configuration - Manual (original) (raw)
Change language:
The behaviour of these functions is affected by settings in php.ini.
PostgreSQL configuration options
| Name | Default | Changeable | Changelog |
|---|---|---|---|
| pgsql.allow_persistent | "1" | INI_SYSTEM | |
| pgsql.max_persistent | "-1" | INI_SYSTEM | |
| pgsql.max_links | "-1" | INI_SYSTEM | |
| pgsql.auto_reset_persistent | "0" | INI_SYSTEM | |
| pgsql.ignore_notice | "0" | INI_ALL | |
| pgsql.log_notice | "0" | INI_ALL |
For further details and definitions of the INI_* modes, see the Where a configuration setting may be set.
Here's a short explanation of the configuration directives.
pgsql.allow_persistent bool
Whether to allow persistent Postgres connections.
pgsql.max_persistent int
The maximum number of persistent Postgres connections per process.
pgsql.max_links int
The maximum number of Postgres connections per process, including persistent connections.
pgsql.auto_reset_persistent int
Detect broken persistent links with pg_pconnect(). Needs a little overhead.
pgsql.ignore_notice int
Whether or not to ignore PostgreSQL backend notices.
pgsql.log_notice int
Whether or not to log PostgreSQL backends notice messages. The PHP directive pgsql.ignore_notice must be off in order to log notice messages.
Found A Problem?
Learn How To Improve This Page •Submit a Pull Request •Report a Bug
User Contributed Notes
There are no user contributed notes for this page.