The Stratus CLI can also be used to clear the opcache instead of this tool.
If your code deploys use symlinks or you think something is cached in the PHP opcache, you can clear it via the php-fpm port.
On all our Stratus sites, that hostname:port is phpfpm:9000 There are several ways to clear it, such as Cachetool, configure cache tool with these settings in .cachetool.yml
bash adapter: fastcgi fastcgi: php-fpm:9000 temp_dir: /srv/tmp
For PHP 7.0.x, you will need to download the following file:
wget -c https://github.com/gordalina/cachetool/raw/gh-pages/downloads/cachetool-3.2.1.phar
For PHP 7.1 or 7.2, you will need:
wget -c http://gordalina.github.io/cachetool/downloads/cachetool.phar
The file must be named .cachetool.yml. CacheTool will look for this file in the current directory