Nerd in Action Code is poetry

Weird PHP errors

After I deployed a new version onto our QA server, I was getting errors like Cannot redeclare class and Class XXX not found in a 3rd-party lib.

Weird, I haven’t made any changes in those files.

After hours of investigation, I found out that it was APC on the server which caused this issue, and solved it by restarting apache.