Zeus 4.3r3 FreeBSD5 在 FreeBSD 6 上安装补充
Zeus 4.3r3 自带php 但模块少,而且无法更新到新版本的php,所以我们需要自己来安装一个php
了解到zeus运行php的模式是fastcgi,下面安装就简单了
1,安装php
cd /usr/ports/lang/php4 如果你想安装php5 就是/usr/ports/lang/php5 安装方法应该一样 我们试过大家可以试试
make install clean 注意当中需要选择fastcgi
2,zeus配置php
非常简单了
cd /usr/local/zeus/php
rm php.zeus 删除掉自带的php
ln -s /usr/local/bin/php-cgi php.zeus
把新安装的php做个连接
访问 http://your.com:9090 (你的域名地址或IP地址)
用户名 admin 密码:刚才设定的密码
进入Zeus管理控制台,点Create a Virtual Server 把相关的六个选项填好 不多说
注意:1. 指向的web目录要有权限读 2. 如果在 Host Name and Port 写域名,请确定该域名是绑定到当前IP的,否则请填写当前服务器IP地址
进入刚刚加入的virtual server,点Third Party中的PHP
Enabling PHP Support:选 Enabled
一切ok了
Posted: 11月 29th, 2006 under 学习资料.
Comment from responsible vacancy
Time 2008年02月21日 at 12:13 上午
Small minds run in the same gutter — Alfred E Neuman
Money is better than poverty, if only for financial reasons — Woody Allen, From ‘Without Feathers’ 1976
Are we at last brought to such a humiliating and debasing degradation, that we cannot be trusted with arms for our own defense? Where is the difference between having our arms in our possession and under our own direction, and having them under the management of Congress? If our defense be the real object of having those arms, in whose hands can they be trusted more propriety, or equal safety to us, as in our own hand? PATRICK HENRY, 3 Elliot Debates 168-169.
If computers get too powerful, we can organize them into a committee — that will do them in — Bradley’s Bromide