EC2 Apache Server not reflecting changes to PHP files

Posted by Josef van Niekerk on Server Fault See other posts from Server Fault or by Josef van Niekerk
Published on 2014-06-10T08:44:19Z Indexed on 2014/06/10 9:26 UTC
Read the original article Hit count: 280

Filed under:
|

We're running a Laravel application on an Amazon EC2 server with Apache installed. I've noticed on multiple occasions, that the server doesn't respond to changes in PHP files, even after restarting Apache.

For example, if I edit a file that I'm accessing through a URL, and I break the syntax, I don't even get a PHP exception thrown.

This is really strange, and has been sticking its head out more frequently these days.

Is it possible Apache is caching the PHP files somewhere? Opcode caching perhaps?

© Server Fault or respective owner

Related posts about apache-2.2

Related posts about php