<p>Open the <code>php.ini</code> file in your favorite text editor.</p>
<p>Search for <code>max_execution_time</code>. It'll probably be set to something like 30 or 60.</p>
<p>Change it to 120 and save the file.</p>
<p>You'll likely need to restart your web server before the change takes affect.</p>

CC BY-SA 4.0
2020-06-28T23:53:54.140Z
2020-06-28T23:53:54.140Z
Brad Bell
<p>I found the php.ini file, but I don't see where to change max execution to 120.  Thank you for your support.</p>

CC BY-SA 4.0
2020-06-29T12:41:46.560Z
Loaded Configuration File => /usr/local/etc/php/7.4/php.ini      I ran this to find the php.ini.  How do I access it?
Bren Bauer
<php>
Change php.ini to max execution 120
# Change php.ini to max execution 120

(Asked by: username_0 on 2020-06-28)

I found the php.ini file, but I don't see where to change max execution to 120. Thank you for your support.

**Tags:** php

> **Comments:**
> **username_0**: Loaded Configuration File => /usr/local/etc/php/7.4/php.ini      I ran this to find the php.ini.  How do I access it?  

---

## 1 answers

### Answer by username_1 on 2020-06-28. Score: 1

Open the `php.ini` file in your favorite text editor.

Search for `max_execution_time`. It'll probably be set to something like 30 or 60.

Change it to 120 and save the file.

You'll likely need to restart your web server before the change takes affect.


---

