• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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