Answers.Body: <p>You need to figure out where your PHP config file is located (<code>php.ini</code>) and increase the value for the <a href="https://secure.php.net/manual/en/info.configuration.php#ini.max-execution-time" rel="nofollow noreferrer"><code>max_execution_time</code> setting</a>.</p>
  
  <hr>
  
  <p>The best way to locate your <code>php.ini</code>:</p>
  
  <ul>
  <li><p>If you can run <code>php</code> from the command line, run <code>php --ini</code>. Alternatively you could use <code>php -i | grep 'Configuration File'</code> to search the full <code>phpinfo()</code>. <a href="https://stackoverflow.com/q/2750580/4914302">More info...</a></p></li>
  <li><p>If <code>php</code> isn't accessible via the CLI, you can also create a simple php file that contains the following snippet. Load it up in your browser and search the page for "Configuration File". This will give you the location of your <code>php.ini</code>.</p></li>
  </ul>
  
  <pre><code>&lt;?php
  
  phpinfo();
  </code></pre>
  
  <p>Other options:</p>
  
  <ul>
  <li><p>If you're using a Laravel Valet / Homebrew setup, the <code>php.ini</code> file is located at <code>/usr/local/etc/php/X.X/php.ini</code> where <code>X.X</code> is your PHP version number.</p></li>
  <li><p>If you're running MAMP Pro, I believe they provide a built in editor to customize this - see <a href="https://stackoverflow.com/q/37824946/4914302"><em>How do you change php.ini values in MAMP Pro?</em></a></p></li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-12T21:16:26.800Z
Answers.Text: I updated the timeout and ran the updater for Craft CMS and now the previous installation seems to be blown out. Warning: require(vendor/craftcms/cms/bootstrap/web.php): failed to open stream: No such file or directory in C:\Users\rickn\Documents\Craft\Projects\Untye\web\index.php on line 20
  
  Fatal error: require(): Failed opening required 'vendor/craftcms/cms/bootstrap/web.php' (include_path='.;C:\php\pear') in
Answers.UserDisplayName: Rick
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-12T21:27:55.407Z
Answers.Text: try removing your `vendor` folder entirely and run `composer install` from the command line...
Answers.UserDisplayName: Jalen Davenport
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-12T22:51:57.137Z
Answers.Text: Thanks. Then I get - The requested package craftcms/cms (locked at 3.0.34, required as 3.0.35) is satisfiable by craftcms/cms[3.0.34] but these conflict with your requirements or minimum-stability.
Answers.UserDisplayName: Rick
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-12T14:40:19.000Z
Answers.LastActivityDate: 2018-12-12T14:40:19.000Z
Answers.UserDisplayName: Jalen Davenport
Body: <p>When I try to install or update a plugin from the Control Panel, I see a message "<strong><em>Updating Composer Dependencies</em></strong>" and then the following error occurs. I'm running Craft on a local environment. Installing and updating from the command line works fine. </p>
  
  <pre><code>Status: Internal Server Error
  
  Response:
  PHP Fatal Error &amp;#039;yii\base\ErrorException&amp;#039; with message &amp;#039;Maximum execution time of 30 seconds exceeded&amp;#039;
  in ...\vendor\composer\composer\src\Composer\Util\RemoteFilesystem.php:555
  
  Stack trace:
  #0 [internal function]: yii\base\ErrorHandler-&amp;gt;handleFatalError()
  #1 {main}
  </code></pre>
  
Tags: <error-message>
Title: Maximum execution time exceeded when adding or updating plugins from the Control Panel
ThreadText: # Maximum execution time exceeded when adding or updating plugins from the Control Panel
  
  (Asked by: username_0 on 2018-12-12)
  
  When I try to install or update a plugin from the Control Panel, I see a message "***Updating Composer Dependencies***" and then the following error occurs. I'm running Craft on a local environment. Installing and updating from the command line works fine.
  
  ```
  Status: Internal Server Error
  
  Response:
  PHP Fatal Error &#039;yii\base\ErrorException&#039; with message &#039;Maximum execution time of 30 seconds exceeded&#039;
  in ...\vendor\composer\composer\src\Composer\Util\RemoteFilesystem.php:555
  
  Stack trace:
  #0 [internal function]: yii\base\ErrorHandler-&gt;handleFatalError()
  #1 {main}
  
  ```
  
  **Tags:** error-message
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-12-12. Score: 2 | Accepted answer
  
  You need to figure out where your PHP config file is located (`php.ini`) and increase the value for the [`max_execution_time` setting](https://secure.php.net/manual/en/info.configuration.php#ini.max-execution-time).
  
  ---
  
  The best way to locate your `php.ini`:
  
  * If you can run `php` from the command line, run `php --ini`. Alternatively you could use `php -i | grep 'Configuration File'` to search the full `phpinfo()`. [More info...](https://stackoverflow.com/q/2750580/4914302)
  * If `php` isn't accessible via the CLI, you can also create a simple php file that contains the following snippet. Load it up in your browser and search the page for "Configuration File". This will give you the location of your `php.ini`.
  
  ```
  <?php
  
  phpinfo();
  
  ```
  
  Other options:
  
  * If you're using a Laravel Valet / Homebrew setup, the `php.ini` file is located at `/usr/local/etc/php/X.X/php.ini` where `X.X` is your PHP version number.
  * If you're running MAMP Pro, I believe they provide a built in editor to customize this - see [*How do you change php.ini values in MAMP Pro?*](https://stackoverflow.com/q/37824946/4914302)
  
  > **Comments:**
  > **username_0**: I updated the timeout and ran the updater for Craft CMS and now the previous installation seems to be blown out. Warning: require(vendor/craftcms/cms/bootstrap/web.php): failed to open stream: No such file or directory in C:\Users\rickn\Documents\Craft\Projects\Untye\web\index.php on line 20  Fatal error: require(): Failed opening required 'vendor/craftcms/cms/bootstrap/web.php' (include_path='.;C:\php\pear') in  
  > **username_1**: try removing your `vendor` folder entirely and run `composer install` from the command line...  
  > **username_0**: Thanks. Then I get - The requested package craftcms/cms (locked at 3.0.34, required as 3.0.35) is satisfiable by craftcms/cms[3.0.34] but these conflict with your requirements or minimum-stability.  
  
  ---
  
  