Stop assuming PHP is always at version 5
Use the same solution derived at Nginx: PHP FPM fails to detect socket mode on PHP 7 once it's completed.
To find what needs to be changed, run this command at root of the project tree:
grep -rn php5 .
As of 2024-05-14 a change has been implemented to enforce access token expiry. If you see higher numbers of HTTP 401 responses, please check tokens that may have expired. For more details, including how to mitigate disruption, please check our docs guide on Expired Access Tokens. If you have a support contract, you may open a support ticket for additional assistance.
Use the same solution derived at Nginx: PHP FPM fails to detect socket mode on PHP 7 once it's completed.
To find what needs to be changed, run this command at root of the project tree:
grep -rn php5 .