• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • 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.

Plesk 12 - Drupal 7 auto update changes settings.php file

Todd Kruger

New Pleskian
Hi All,

I have a bunch of Drupal 7 sites on a new dedicated server running plesk 12. I have them set to auto update the core which is great however it keeps adding these 4 lines at the end of the settings.php file which is really annoying. Is there a way to prevent this?

This is in the httpdocs/sites/default/settings.php

I don't want to force no maintenance or set the tmp to that. I comment them all out and let Drupal's DB handle it but then on each update it puts them back in.

$conf['maintenance_mode'] = FALSE;
$conf['drupal_http_request_fails'] = FALSE;
$conf['file_temporary_path'] = 'tmp';
error_reporting(0);
 
Anyone please? I was thinking there must be a config file with these 4 settings for it to keep adding these 4 lines to the bottom of settings.php. Drupal default install doesn't even do this.... kinda strange.
 
Anyone please? I was thinking there must be a config file with these 4 settings for it to keep adding these 4 lines to the bottom of settings.php. Drupal default install doesn't even do this.... kinda strange.

Hi Todd, I've recently run into the same issue. I'm curious if you ever figured out a solution. Many thanks in advance.

Chris
 
Hi Todd, I've recently run into the same issue. I'm curious if you ever figured out a solution. Many thanks in advance.

Chris

Hi Chris,

No such luck. I'm still waiting for a reply here :) I switched it off and have been using drush for now on about 30 drupal installs.
 
Back
Top