Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
Opcode memory cache is not shared by different SAPIs (like CLI, CGI, FPM, LSAPI, etc.) so there simply isn't a direct way to invalidate opcache from CLI.Depending on the setup / environment there might not even be a process running the "web" SAPI on the same machine/ container running CLI.One approach (that should work in many cases, but not necessarily every case) could be to use the XenForo API, eg. send an API request to the webserver from CLI.
Opcode memory cache is not shared by different SAPIs (like CLI, CGI, FPM, LSAPI, etc.) so there simply isn't a direct way to invalidate opcache from CLI.
Depending on the setup / environment there might not even be a process running the "web" SAPI on the same machine/ container running CLI.
One approach (that should work in many cases, but not necessarily every case) could be to use the XenForo API, eg. send an API request to the webserver from CLI.
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences