• 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.

Question Modify value in vhost.conf

JTRipper

Regular Pleskian
Hello,

we need to remove this directive:

php_admin_value error_reporting 22519

inside this tag : <IfModule mod_php5.c>

from the config file /var/www/vhosts/system/domain.tld/conf/httpd.conf

otherwise it overrides our values defined in /etc/php.ini config which we need for the sites running as apache module and creates problems with some old sites.

We got this problem after upgrading to 17.5.30 on Centos 6.9 64bit

But everytime I reconfigure vhost I need to reuse sed to comment it out.
I didn't find a possibility to change using custom domainVirtualHost.php

How can I achieve this task in permanent way ?

thanks
Jack
 
Are you sure that you have no enabled any sustom vhost templates? Try to find this with something like:

# cd /usr/local/psa/admin/conf/templates
# grep -R 22519 *
# grep -R error_reporting *
 
Are you sure that you have no enabled any sustom vhost templates? Try to find this with something like:

# cd /usr/local/psa/admin/conf/templates
# grep -R 22519 *
# grep -R error_reporting *

Hello Igor,
thanks for your prompt response.
I have already tried that before.
No results found:
[root@mu000XXX httpdocs]# cd /usr/local/psa/admin/conf/templates
[root@mu000XXX templates]# grep -R 22519 *
[root@mu000XXX templates]# grep -R error_reporting *
[root@mu000XXX templates]# pwd
/usr/local/psa/admin/conf/templates
[root@mu000XXX templates]#

update: I don't have any custom templates on this server.
[root@mu000XXX templates]# find /usr/local/psa/admin/conf/templates/ -maxdepth 1 -type d
/usr/local/psa/admin/conf/templates/
/usr/local/psa/admin/conf/templates/pci_compliance
/usr/local/psa/admin/conf/templates/default
[root@mu000XXX templates]#
 
Last edited:
If nobody can't help you here, I'd suggest you contact Plesk Support Team.
 
Back
Top