在FreeBSD6下ZendOptimizer的安装
将手动下载的 /usr/ports/distfile/ZendOptimizer-2.5.10a-freebsd5.1-i386.tar.gz 拷贝到 /tmp:
代码:
#tar -xzf ZendOptimizer-2.5.10a-freebsd5.1-i386.tar.gz
#cd ZendOptimizer-2.5.10a-freebsd5.1-i386
#./install.sh
提示:
代码:
/usr/libexec/ld-elf.so.1: Shared object "libcrypt.so.2" not found, required by "php"
于是:
代码:
fb60# find / -name "libcrypt.so"
/usr/lib/libcrypt.so
接着:
代码:
ln -s /usr/lib/libcrypt.so /usr/lib/libcrypt.so.2
接着安装,又提示:
代码:
fb60# ./install.sh
/usr/libexec/ld-elf.so.1: Shared object "libm.so.3" not found, required by "php"
接着找、做连接:
代码:
fb60# find / -name "libm.so"
/usr/lib/libm.so
^C
fb60# ln -s /usr/lib/libm.so /usr/lib/libm.so.3
再安装,又提示:
代码:
fb60# ./install.sh
/usr/libexec/ld-elf.so.1: Shared object "libc.so.5" not found, required by "php"
做连接:
代码:
fb60# ln -s /usr/lib/libc.so /usr/lib/libc.so.5
再安装,ok了。下面的根据提示进行即可。
现在我的 phpinfo() 提示如下:
代码:
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.8, Copyright (c) 2003-2005, by Zend Technologies with Zend Optimizer v2.5.10, Copyright (c) 1998-2005, by Zend Technologies
阅读(1262) | 评论(0) | 转发(0) |