I have recently upgraded my moodle directory, using Git, from 2.5.3 to 2.6. I have also added ZendOPCache as a module in my PHP install, this was suggested on the server environment check before upgrading.
Now, when I go to localhost/moodle I get an error message telling me that the server has sent nothing. If I go to localhost /moodle/admin I get the site upgrade screen but it comes up without any CSS (see image bellow).
If I remove OPCache from my PHP modules, by commenting out the path in my php.ini files, moodle seems to work fine. I opened localhost/moodle and it gave me the usual message telling me that the site is in maintenance mode, also, if I open localhost/moodle/admin it asks me If I would like to Upgrade the site to 2.6+ with all the nice CSS there.
I haven't gone through with the site upgrade when OPCache is disabled as I would like to do it only once everything is working as it should be, but it seems the site nonetheless works well when OPCache is disabled and doesn't work too well when OPCache is enabled.
Please can somebody help me out.