• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question How do changes in php.ini in Plesk?

Hi Jonatan442;

the STANDARD setting for this option is already

Code:
...
; Defines the probability that the 'garbage collection' process is started
; on every session initialization. The probability is calculated by using
; gc_probability/gc_divisor. Where session.gc_probability is the numerator
; and gc_divisor is the denominator in the equation. Setting this value to 1
; when the session.gc_divisor value is 100 will give you approximately a 1% chance
; the gc will run on any give request.
; Default Value: 1
; Development Value: 1
; Production Value: 1
; http://php.net/session.gc-probability
session.gc_probability = 0
...

So IF you didn't change it manually, I can't remember any software, which modifies this standard setting.


If you still would like to check it, consider either ...

... a usage of:

Code:
find /etc/php -type f -name "*.ini" -exec grep -i -H "session.gc_probability"  {} \;
find /etc/php5 -type f -name "*.ini" -exec grep -i -H "session.gc_probability"  {} \;
find /opt/plesk/php -type f -name "*.ini" -exec grep -i -H "session.gc_probability"  {} \;
find /opt/plesk/php -type f -name "*.ini" -exec grep -i -H "session.gc_probability"  {} \;
find /var/www/vhosts/system -type f -name "*.ini" -exec grep -i -H "session.gc_probability"  {} \;
As you can see, I use all possible locations in my examples, where php.ini - versions might be located and you will get only an output from the used command, when the search - term "session.gc_probability" exists in files with the ending "ini". It could be a good idea, if you save the command, which can be very easily adjusted to any search - term you desire. ;)

Another hint: If you don't restart your webserver and the depending php-fpm service after you changed PHP - settings, you will still have your old configuration as actual setting! ;)



... or you can browse to:

Home > Tools & Settings > PHP Settings

at your Plesk Control Panel, choose your desired PHP - version and check/modify/adjust at the tab "php.ini" your choosen php.ini.
 
Back
Top