블로그 이미지
BJcomm
bjcomm

공지사항

최근에 받은 트랙백

글 보관함

calendar

      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
06-28 06:25

igbinary, redis php module comfile

2019. 8. 28. 10:22 | Posted by bjcomm

tar xvzf igbinary-2.0.5.tgz
cd igbinary-2.0.5
/usr/local/bin/phpize
./configure --with-php-config=/usr/local/bin/php-config --enable-igbinary
make
make install
cp /usr/local/lib/php/extensions/no-debug-non-zts-20121212/igbinary.so /usr/local/lib/


tar xvzf redis-2.2.7.tgz
cd redis-2.2.7
phpize
./configure --enable-redis-igbinary
make
make install
cp /usr/local/lib/php/extensions/no-debug-non-zts-20121212/redis.so /usr/local/lib/

cd /usr/local/lib
vi php.ini

extension=/usr/local/lib/igbinary.so
extension=/usr/local/lib/redis.so

Comment