Changing PHP Parameters (php.ini Directives)

In the PHP Module Parameters (Параметры модуля PHP) section of the hosting control panel, you will find a table of configurable settings. Set the required values according to your website scripts’ requirements and save the changes.


Manual Editing of php.ini

To edit the php.ini file:

  • Download the php.ini file corresponding to your PHP version from the directory /etc/php/version, for example using the file manager in the hosting control panel;
  • Upload the modified php.ini file to your home directory: /home/identifier/;
  • Go to the Web Server Management (Управление веб-сервером) section of the hosting control panel and restart the server for the changes to take effect.

When using a custom php.ini, the PHP settings configured through the hosting control panel will not apply. To return to automatic settings, delete php.ini from the /home/identifier/ directory and restart the web server.

For individual websites, PHP parameters can also be set via the .htaccess file using the php_flag and php_value directives, as described in the PHP documentation.

Всё ещё остались вопросы?