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

CC BY-SA 4.0
2018-12-12T21:16:26.800Z
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
Rick
CC BY-SA 4.0
2018-12-12T21:27:55.407Z
try removing your `vendor` folder entirely and run `composer install` from the command line...
Jalen Davenport
CC BY-SA 4.0
2018-12-12T22:51:57.137Z
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.
Rick
CC BY-SA 4.0
2018-12-12T14:40:19.000Z
2018-12-12T14:40:19.000Z
Jalen Davenport
<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>

<error-message>
Maximum execution time exceeded when adding or updating plugins from the Control Panel
# 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 'yii\base\ErrorException' with message 'Maximum execution time of 30 seconds exceeded'
in ...\vendor\composer\composer\src\Composer\Util\RemoteFilesystem.php:555

Stack trace:
#0 [internal function]: yii\base\ErrorHandler->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.

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


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?

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

---

