webdevops / TYPO3-docker-boilerplate

:stew: TYPO3 Docker Boilerplate project (NGINX, Apache HTTPd, PHP-FPM, MySQL, Solr, Elasticsearch, Redis, FTP)
https://webdevops.io/projects/typo3-docker-boilerplate/
MIT License
232 stars 91 forks source link

Possibility to clear opcache? #77

Open josefglatz opened 9 years ago

josefglatz commented 9 years ago

I've upgrading a TYPO3 instance from 4.7 to 6.2. After changes the symlinks from old to new sources. The webserver try to follow the old paths. My woraround was a stop and up fo my docker containers which solved my problems. Is there another method to clera opcache?

We could add such a info to our docs :)

josefglatz commented 9 years ago

http://ihaveabackup.net/2013/10/19/invalidating-the-opcache-in-php-5-5/

Seams like there are only to possibilities:

mblaschke commented 9 years ago

it should be possible to restart php with supervisord cli tools.

josefglatz commented 9 years ago

Uh, this sounds really nice :)

Am 17.08.2015 um 10:33 schrieb Markus Blaschke notifications@github.com:

it should be possible to restart php with supervisord cli tools.

— Reply to this email directly or view it on GitHub https://github.com/webdevops/TYPO3-docker-boilerplate/issues/77#issuecomment-131729929.

elmar-hinz commented 9 years ago

I ran into the very same problem, when upgrading from TYPO3 6.2.x to 6.2.y manually. When trying to do this upgrade with the TYPO3 install tool, the process did break completely.

A with to temporarily turn opcache on and off would be handy.

josefglatz commented 9 years ago

Another workaround is to stop and start the relevant container.

Von meinem iPhone gesendet

Am 26.08.2015 um 22:33 schrieb Elmar Hinz notifications@github.com:

I ran into the very same problem, when upgrading from TYPO3 6.2.x to 6.2.y manually. When trying to do this upgrade with the TYPO3 install tool, the process did break completely.

A with to temporarily turn opcache on and off would be handy.

— Reply to this email directly or view it on GitHub.