• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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