Adapt clearing to PHP 5.5 and use of OPcache extension