Skip to content

Instantly share code, notes, and snippets.

@sanderson
Created January 22, 2013 23:10
Show Gist options
  • Select an option

  • Save sanderson/4599642 to your computer and use it in GitHub Desktop.

Select an option

Save sanderson/4599642 to your computer and use it in GitHub Desktop.
Redis Session in the Boxfile
web1:
php_extensions:
- redis
php_session_save_handler: redis
php_session_save_path: "tcp://tunnel.pagodabox.com:6379"
@xavisavvy
Copy link
Copy Markdown

It might be worth noting for the new pagodabox.io

php_session_save_path: "tcp://tunnel.pagodabox.com:6379"

needs to be changed to the new server. I personally used the IP address provided for the host using the same port, but are we able do the following (or something similar)?

php_session_save_path: "tcp://tunnel.pagodabox.io:6379"

Might sound silly, but for the longest time I was looking for something wrong with my redis setup on the new server for hours before it occurred to me that the reason redis was refusing the connection was because it was still pointing to the old pagodabox server. >.< when our build process takes about 4-5 minutes per it got really frustrating when nothing I did would fix it hehe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment