2.8.27. Own php.ini

There are two ways to manage PHP settings:

  • Via control panel — in this case php.ini file is generated automatically based on the specified settings. Recommended method, suitable for most users.
  • By manually editing php.ini. Suitable for advanced users to change settings not available in the control panel.

You can switch between methods: enabling own php.ini blocks managing settings in the control panel, disabling it returns managing settings via the control panel.

  • Automatic CMS installation. During the auto-installation process, a list of PHP parameters will be displayed, which will be modified in the own php.ini. Existing parameters will be commented out when changes are made.
  • PHP profiling. Using own php.ini does not interfere with PHP profiling. When profiling is enabled, the profiler extension is automatically connected and auto_prepend_file is added.
  • OPcache and JIT. Values of opcache.enable, opcache.revalidate_freq, opcache.memory_consumption, opcache.jit, opcache.jit_buffer_size in own php.ini are automatically overwritten based on the current OPCache and JIT settings in the control panel. If you try to add opcache.enable without the extra service ordered, the value will automatically change to Off.
  • Log paths. The mail.log and error_log values cannot be changed. If you try to change them, they will be automatically overwritten.

Notes:

  1. Open the "PHP settings" section and switch to the "Own php.ini" tab.
  2. Click "Switch to own php.ini":
  3. Confirm the operation with the button in the window.
  4. At the bottom of the page, click "Save":
  1. Open the "PHP settings" section and switch to the "Own php.ini" tab.
  2. Click "Switch to automatic generation of php.ini":
  3. Confirm the operation with the button in the window.
Content

    (1)