PHP Settings

After enabling Web Station, you can configure PHP related settings on this page.

To turn on PHP configuration option register_globals

Tick Turn on PHP configuration option register_globals if the PHP application you use requires the register_globals option to be turned on. Click Apply to take effect.

Note:

It is recommended that you turn off the register_globals option for security reasons.

To enable PHP cache

Tick Enable PHP cache if you wish to enhance the PHP performance. However it may not take effect under some circumstances.

To display PHP error message on the webpage

Tick Enable display_errors to display PHP error message if you want to display PHP error messages on the webpage.

To enable safe_mode_exec_dir access limitation

Tick Enable PHP safe_mode_exec_dir access limitation checkbox to improve security. Click Apply to apply the setting. The access limitation will be applied to /usr/syno/bin. If the PHP application you use requires to disable safe_mode_exec_dir access limitation, uncheck the Enable PHP safe_mode_exec_dir access limitation checkbox and click Apply to apply the setting.

Note:

It is recommended that you turn on the Enable PHP safe_mode_exec_dir access limitation option for security reasons.

To customize PHP open_basedir

  1. Tick Customize PHP open_basedir if you wish to customize your own open_basedir.
  2. Type the customized path in the text field and then click Apply. If you want to use the system default setting, uncheck the Customize PHP open_basedir and click Apply.

Note:

To select PHP extension

  1. Click Select PHP extension to customize your own PHP extension.
  2. In the pop-up dialog PHP extension List, select which extension you want to enable.
  3. You can also click Default at top of the dialog to return to default settings.
  4. Click OK to save the changes.