<p>No, but make sure devMode is turned on in your development environment.</p>

CC BY-SA 4.0
2020-07-23T21:26:00.433Z
2020-07-23T21:26:00.433Z
Matthias Redl-Mann
<p>When I make a change to a .php file of Craft, say <code>config/routes.php</code>, do I have to restart the server to take effect ?</p>

<craft3>
Do I have to restart apache server every time I change a Craft PHP file?
# Do I have to restart apache server every time I change a Craft PHP file?

(Asked by: username_0 on 2020-07-23)

When I make a change to a .php file of Craft, say `config/routes.php`, do I have to restart the server to take effect ?

**Tags:** craft3


---

## 1 answers

### Answer by username_1 on 2020-07-23. Score: 1 | Accepted answer

No, but make sure devMode is turned on in your development environment.


---

