维基天空

March 9, 2008

编译mysql时候,No curses/termcap library found 错误

Filed under: Uncategorized — admin @ 2:22 am

./configure 后,出现 “checking for termcap functions library… configure: error: No curses/termcap library found”错误,发现是没有安装curses/termcap库,

#apt-get install libncurses5-dev

安装下就好了

February 17, 2008

mysql导入,强制编码

Filed under: Uncategorized — admin @ 11:57 pm

mysql -hlocalhost -udbusername -pdbpassword –default-character-set=latin1  dbname <dbname.sql

December 25, 2007

Custom Apache Build System with DA(DirectAdmin)

Filed under: Uncategorized — Tags: , — admin @ 11:08 pm

As root, type:

cd /usr/local/directadmin
mkdir customapache
cd customapache
wget http://files.directadmin.com/services/customapache/build
chmod 755 build
./build update
./build all

And if you want to have Zend, after the whole thing finishes, type:
./build zend

and answer all questions.
Zend install = /usr/local/Zend
php.ini = /usr/local/lib
Apache config dir = /etc/httpd/conf
php = 4.3.9
apache bin = /usr/sbin

it will try to restart the server, which might fail, so type
service httpd restart

好一个平安夜…..

Filed under: Uncategorized — admin @ 12:19 am

信用卡余额竟然成负数了……………….天啊………这样也成..

October 30, 2006

Class是个好东西

Filed under: Uncategorized — admin @ 3:19 pm

PHP里面的类(class)是个好东西…有必要新建立一个版面好好研究一下..
直到运用自如了为止!!

Powered by WordPress