廣告贊助

 
emerge mcrypt ( replacement of the old unit crypt for phpMyAdmin )
emerge icu ( International Components for Unicode ) 
 
cURL is a command line tool for transferring data with URL syntax
http://curl.haxx.se/download.html
emerge libssh2 ( Library implementing the SSH2 protocol )
./configure \
--prefix=/local/cURL \
--exec-prefix=/local/cURL \
--with-libssh2
make
make install
 
FreeTDS is a set of libraries for Unix and Linux that allows your programs to natively talk to Microsoft SQL Server and Sybase databases.
http://www.freetds.org
./configure \
--prefix=/local/FreeTDS \
--exec-prefix=/local/FreeTDS \
--enable-msdblib
make
make install
nano /etc/ld.so.conf
/local/FreeTDS/lib
ldconfig
nano /local/FreeTDS/etc/freetds.conf
[MSsql]
host = 192.168.1.209
port = 1433
client charset = UTF-8
tds version = 8.0
touch /local/FreeTDS/include/tds.h
touch /local/FreeTDS/lib/libsybdb.a
cd /local/FreeTDS/bin
./tsql -S MSsql -U sa
1> quit
 
./configure \
--prefix=/local/PHP \
--exec-prefix=/local/PHP \
--with-config-file-path=/local/PHP \
--with-mysql=/local/MySQL \
--with-mysqli=mysqlnd \
--with-mssql=/local/FreeTDS \
--with-pdo-dblib=/local/FreeTDS \
--with-pdo-mysql=/local/MySQL \
--with-apxs2=/local/Apache/bin/apxs \
--with-curl=/local/cURL \
--with-openssl=/usr \
--with-openssl-dir=/usr \
--with-mcrypt=/usr \
--enable-intl \
--enable-ftp \
--enable-zip \
--enable-mbstring \
--enable-sockets \
--enable-soap \
--enable-debug
make
make test
make install
 
cp php.ini-production /local/PHP/php.ini
文章標籤
創作者介紹
創作者 NeoKing 的頭像
NeoKing

NeoKing 的部落格

NeoKing 發表在 痞客邦 留言(0) 人氣()