Answers.Body: <p>You can disable plugins by adding their handles to an array <a href="https://docs.craftcms.com/v3/config/config-settings.html#disabledplugins" rel="nofollow noreferrer"><code>disabledPlugins</code></a> in your <code>config/general.php</code> file:</p>
  
  <pre class="lang-php prettyprint-override"><code>&lt;?php
      '*' =&gt; [
          'isSystemLive' =&gt; true,
          'disabledPlugins' =&gt; [
              'redactor',
              'some-plugin',
              ...
          ],
          ...
      ],
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-07T02:24:20.937Z
Answers.Text: Thank you, Mats.  That doesn't seem to have solved my main problem, but it helps to rule things out!  Index.php doesn't seem to get past ```require_once CRAFT_VENDOR_PATH.'/autoload.php';```
Answers.UserDisplayName: kr37
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-07T03:13:09.660Z
Answers.Text: Finally, it was a permissions problem accessing the autoload.php.
Answers.UserDisplayName: kr37
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-06T18:52:26.517Z
Answers.LastActivityDate: 2019-10-06T18:52:26.517Z
Answers.UserDisplayName: Mats Mikkel Rummelhoff
Body: <p>I'm getting a blank page for both the front end and the CP/admin, and am tyring to figure out why. I changed my hard drive at about the same time as making a bunch of changes to a plugin, so just trying to figure out what I've screwed up.</p>
  
  <p>I already did this: deleted <code>vendor/craftcms</code> followed by</p>
  
  <pre><code>composer clearcache
  composer install
  </code></pre>
  
  <p>Is there a way to disable plugins from outside the CP?</p>
  
Tags: <plugins>
Title: How to disable plugin when unable to log in?
ThreadText: # How to disable plugin when unable to log in?
  
  (Asked by: username_0 on 2019-10-06)
  
  I'm getting a blank page for both the front end and the CP/admin, and am tyring to figure out why. I changed my hard drive at about the same time as making a bunch of changes to a plugin, so just trying to figure out what I've screwed up.
  
  I already did this: deleted `vendor/craftcms` followed by
  
  ```
  composer clearcache
  composer install
  
  ```
  
  Is there a way to disable plugins from outside the CP?
  
  **Tags:** plugins
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-10-06. Score: 4 | Accepted answer
  
  You can disable plugins by adding their handles to an array [`disabledPlugins`](https://docs.craftcms.com/v3/config/config-settings.html#disabledplugins) in your `config/general.php` file:
  
  ```php
  <?php
      '*' => [
          'isSystemLive' => true,
          'disabledPlugins' => [
              'redactor',
              'some-plugin',
              ...
          ],
          ...
      ],
  
  ```
  
  > **Comments:**
  > **username_0**: Thank you, username_1.  That doesn't seem to have solved my main problem, but it helps to rule things out!  Index.php doesn't seem to get past ```require_once CRAFT_VENDOR_PATH.'/autoload.php';```  
  > **username_0**: Finally, it was a permissions problem accessing the autoload.php.  
  
  ---
  
  