• 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.

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