Skip to content

Commit 7545814

Browse files
committed
Merge branch 'QA_5_2'
Signed-off-by: William Desportes <williamdes@wdes.fr>
2 parents 160d6ef + ebf4a09 commit 7545814

1 file changed

Lines changed: 61 additions & 2 deletions

File tree

doc/setup.rst

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,53 @@ You can configure several phpMyAdmin features using environment variables:
229229

230230
.. seealso:: :config:option:`$cfg['PmaAbsoluteUri']`
231231

232+
.. envvar:: PMA_QUERYHISTORYDB
233+
234+
When set to `true`, enables storing SQL history to :config:option:`$cfg['Servers'][$i]['pmadb']`.
235+
When `false`, history is stored in the browser and is cleared when logging out.
236+
237+
.. seealso:: :config:option:`$cfg['Servers'][$i]['history']`
238+
.. seealso:: :config:option:`$cfg['QueryHistoryDB']`
239+
240+
.. envvar:: PMA_QUERYHISTORYMAX
241+
242+
When set to an integer, controls the number of history items.
243+
244+
.. seealso:: :config:option:`$cfg['QueryHistoryMax']`
245+
246+
.. envvar:: PMA_CONTROLHOST
247+
248+
When set, this points to an alternate database host used for storing the ":ref:`linked-tables`" database.
249+
250+
.. seealso:: :config:option:`$cfg['Servers'][$i]['controlhost']`
251+
252+
.. envvar:: PMA_CONTROLUSER
253+
254+
Defines the username for phpMyAdmin to use for the ":ref:`linked-tables`" database.
255+
256+
.. seealso:: :config:option:`$cfg['Servers'][$i]['controluser']`
257+
258+
.. envvar:: PMA_CONTROLPASS
259+
260+
Defines the password for phpMyAdmin to use for the ":ref:`linked-tables`" database.
261+
262+
.. seealso:: :config:option:`$cfg['Servers'][$i]['controlpass']`
263+
264+
.. envvar:: PMA_CONTROLPORT
265+
266+
When set, will override the default port (`3306`) for connecting to the control host.
267+
268+
.. seealso:: :config:option:`$cfg['Servers'][$i]['controlport']`
269+
270+
.. envvar:: PMA_PMADB
271+
272+
When set, define the name of the database to be used for the ":ref:`linked-tables`" database.
273+
When not set, the advanced features are not enabled by default: they can still potentially be enabled by the user when logging in with the :ref:`zeroconf` feature.
274+
275+
.. note:: Suggested values: `phpmyadmin` or `pmadb`
276+
277+
.. seealso:: :config:option:`$cfg['Servers'][$i]['pmadb']`
278+
232279
.. envvar:: HIDE_PHP_VERSION
233280

234281
If defined, this option will hide the PHP version (`expose_php = Off`).
@@ -240,6 +287,18 @@ You can configure several phpMyAdmin features using environment variables:
240287

241288
.. note:: Format as `[0-9+](K,M,G)` default value is `2048K`
242289

290+
.. envvar:: MEMORY_LIMIT
291+
292+
If set, this option will override the phpMyAdmin memory limit :config:option:`$cfg['MemoryLimit']` and PHP's `memory_limit`.
293+
294+
.. note:: Format as `[0-9+](K,M,G)` where `K` is for Kilobytes, `M` for Megabytes, `G` for Gigabytes and `1K` = 1024 bytes. Default value is `512M`.
295+
296+
.. envvar:: MAX_EXECUTION_TIME
297+
298+
If set, this option will override the maximum execution time in seconds for phpMyAdmin :config:option:`$cfg['ExecTimeLimit']` and PHP's `max_execution_time`.
299+
300+
.. note:: Format as `[0-9+]`. Default value is `600`.
301+
243302
.. envvar:: PMA_CONFIG_BASE64
244303

245304
If set, this option will override the default `config.inc.php` with the base64 decoded contents of the variable.
@@ -387,7 +446,7 @@ using the volumes directive:
387446
.. code-block:: yaml
388447
389448
phpmyadmin:
390-
image: phpmyadmin/phpmyadmin
449+
image: phpmyadmin:latest
391450
container_name: phpmyadmin
392451
environment:
393452
- PMA_ARBITRARY=1
@@ -466,7 +525,7 @@ configuration:
466525
services:
467526
phpmyadmin:
468527
restart: always
469-
image: phpmyadmin/phpmyadmin
528+
image: phpmyadmin:latest
470529
container_name: phpmyadmin
471530
hostname: phpmyadmin
472531
domainname: example.com

0 commit comments

Comments
 (0)