• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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