-
Notifications
You must be signed in to change notification settings - Fork 38
Description
Hi !
Since the upgrade from 5.3.7 to 6.0.2 of phpredis on December the 20th, we have a lot of problems of this kind : Redis::exec(): Send of 463 bytes failed with errno=32 Broken pipe or Redis server tcp://xxx.redis.dbs.scalingo.com:xx went away.
We have checked with the Scalingo support team the Redis and app logs, we have check our code, the dependencies upgrades... With 5.x everything were working find for years. So we would like to test a previous version of the extension.
So we have forked the PHP buildpack and have replaced the GitHub repository in our app in the .buildpacks file. Given than the commit where phpredis has been upgraded from 5.3.7 to 6.0.2 is a little bit more complicated (the variable phpredis_version did not exist before), we have tested to load the version 6.0.1 in our fork :
We have added debug information to check our fork is taken into account. It is correctly loaded when deploying :
Before deploying, we have clear the deploy cache on the dashboard. During deployment, everything is ok, version 6.0.1 is downloaded and used:
But when the deployment is done, phpinfo always tells us that PHP is using version 6.0.2 :-(
- Is our buildpack really used?
- Have we missed something?
- Do we must keep the Scalingo buildpack ? If so, we can send a PR to let user configure the wanted version from an ENV variable for example. What do you think about this?
Thank you for your answer!


