• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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