Skip to content

Instantly share code, notes, and snippets.

@shinofara
Created April 8, 2013 01:50
Show Gist options
  • Save shinofara/5333607 to your computer and use it in GitHub Desktop.
Save shinofara/5333607 to your computer and use it in GitHub Desktop.
AWS EC2にhandlersocketを入れるまで ref: http://qiita.com/items/540fd2ecdc98a7549fcb
sudo su
cd /usr/local/src/
git clone git://github.com/ahiguti/HandlerSocket-Plugin-for-MySQL.git
cd HandlerSocket-Plugin-for-MySQL/
./configure --disable-handlersocket-hsclient
make
make install
echo "extension=handlersocket.so" > /etc/php.d/hs.so
./autogen.sh
yum install automake gtk-doc
yum install libtool
./autogen.sh
./configure --disable-handlersocket-server
make
make install
cd perl-Net-HandlerSocket
perl Makefile.PL
yum install perl-ExtUtils-MakeMaker
perl Makefile.PL
make
make install
cd /usr/local/src/
curl -O https://php-handlersocket.googlecode.com/files/php-handlersocket-0.3.1.tar.gz
tar zxvf php-handlersocket-0.3.1.tar.gz
cd handlersocket/
./configure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment