如果安裝了 Percona Server + Handlersocket Plugin ...在web端必需加裝
php-handlersocket 才能讓 PHP程式能夠讀取到 SQL Server的資料~~
安裝步驟:
# wget http://php-handlersocket.googlecode.com/files/php-handlersocket-0.3.1.tar.gz
# tar zxvf php-handlersocket-0.3.1.tar.gz
# phpize
# ./configure --disable-handlersocket-hsclient
# make
# make install
# echo "extension=handlersocket.so" > /etc/php5/conf.d/handlersocket.ini
然後重新起動 nginx 就可以囉~~