• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be 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.

Edit php.ini server wide and apply for all vhosts?

Azurel

Silver Pleskian
Hello.

I have installed multiple php versions. Now I have edit the php.ini (master) of each php version. Location Example of edit "php.ini":

/usr/local/php-5.5.5/etc/php.ini
/usr/local/php-5.5.6/etc/php.ini

It is possible to apply this little changes to all vhosts? I have tried "/usr/local/psa/admin/sbin/httpdmng --reconfigure-all", but that not working. Can anybody help me here?
 
Thank you, but thats not the answer of my question.

I have edit the server-wide php.ini. I have for ALL domains already domain-php.ini. The domain-php.ini have a higher priority. My problem is how I can apply my changes in server-wide php.ini to domain-php.ini. Example change "expose_php" to "Off" in server-wide php.ini, but in domain-php.ini is this value "On". I have now in each domain set it in gui per hand in textbox.

The domain-php.ini is strange! Why is "explose_php" one of the entries? I have not set it, but plesk means it must as default in domain-php.ini? This is a security risk.
 
# /usr/local/psa/bin/php_settings --help

Usage: php_settings command [options]
Available commands:
--update-all or -u Update per-domain PHP settings of all
domains in accordance with the
server-wide php.ini file.
 
Back
Top