开发

警告

These settings might have huge effect on performance or security.

$cfg['environment']

Type:文本
Default value:‘production’

Sets the working environment.

This only needs to be changed when you are developing phpMyAdmin itself. The development mode may display debug information in some places.

Possible values are 'production' or 'development'.

$cfg['DBG']

Type:数组
Default value:array(…)

$cfg['DBG']['sql']

Type:布尔值
Default value:false

Enable logging queries and execution times to be displayed in the console’s Debug SQL tab.

$cfg['DBG']['sqllog']

Type:布尔值
Default value:false

Enable logging of queries and execution times to the syslog. Requires $cfg['DBG']['sql'] to be enabled.

$cfg['DBG']['demo']

Type:布尔值
Default value:false

Enable to let server present itself as demo server. This is used for phpMyAdmin demo server.

It currently changes following behavior:

  • There is welcome message on the main page.
  • There is footer information about demo server and used git revision.
  • The setup script is enabled even with existing configuration.
  • The setup does not try to connect to the MySQL server.

$cfg['DBG']['simple2fa']

Type:布尔值
Default value:false

可以使用 简单的双因素身份验证 来测试双因素身份验证。