LoginSignup
1
0

More than 1 year has passed since last update.

pickle install redisでシリアライザとしてigbinaryを有効にする方法

Posted at

先に結論から

# 先にigbinaryを入れる
pickle install igbinary -n

# オプションをテキストファイルに出力
echo "--enable-redis-igbinary" > redis-options.txt

# --with-configure-optionsでオプション指定のテキストを指定
pickle install redis -n --with-configure-options=redis-options.txt

経緯

  • php環境にredisクライアントを入れたい
  • peclではなくpickleを使いたい
  • 単に pickle install redis としてもigbinaryが有効にならない
    • インタラクティブモードで実行され、プロンプトに対してyes/noで回答していくと有効になる
    • Dockerfileでプロンプトに都度入力するのは困難
  • pickleをバッチモードで実行しつつ、 --enable-redis-igbinary したい
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0