php.ini settings in ISPmanager on a VPS

The administrator changes PHP settings for a whole version. A user can change some parameters for their site: max_execution_time, upload_max_filesize.

Main settings

  1. "PHP" → select the version → "Main settings for the selected PHP version".
Main settings button
Main settings button

Here you set the time zone, execution time, post size, file size, memory limit and error output.

PHP 8.4 main settings
PHP 8.4 main settings

Set the "Time zone". Without it PHP writes the warning Invalid date.timezone value.

Any php.ini parameter

  1. "PHP" → select the version → "Extended settings".
  2. Find the parameter with the search, for example memory_limit.
  3. Select it and click "Edit the selected variable".
  4. Enter the value and click "Save".
"Extended settings" button
"Extended settings" button
Finding the parameter
Finding the parameter
New value
New value
Value saved
Value saved

The "Access" switch lets users change the parameter for their sites.

Where php.ini is

FileVersion
/opt/php84/etc/php.iniPHP 8.4 (alt); other versions — /opt/php83, /opt/php82…
/etc/php/8.5/built-in Ubuntu version (native)

Changes from the panel are safer than manual ones: the panel restarts the services itself.

Questions and answers
/opt/phpXX/etc/php.ini, for example /opt/php84/etc/php.ini. The built-in version is in /etc/php//.
PHP-FPM of that version has to be restarted. It is safer to change parameters in the panel: "PHP" → version → "Extended settings", the panel restarts the service itself.
Set the "Time zone" in the main settings of the PHP version.