首页 >> 读书频道 >> 电脑 >> Unix/OpenBSD installs
 
· asp+语法介绍(三)
· Unix/Mac OS
· asp+语法介绍(二)
· Unix/HP-UX i
· 下一步做什么?
· 亲密接触ASP.Net(
· 亲密接触ASP.Net(
· 在新版本的 PHP 中使
· 处理表单
· 亲密接触ASP.Net(
· 实用的脚本
· 亲密接触ASP.Net(
 
· 国家六部门联合发文
· 红楼梦:120回全本[清
· 常见图像文件格式详解
· 拉封丹寓言
· 电视剧《刁蛮公主》下载和
· 美容养颜手册
· 加油金顺剧情分集介绍完整
· 素质教育在美国
· 全唐诗卷四十六
· 韩剧《布拉格恋人》剧情介
· 夜航船[作者:明·张岱]
· 局外人[作者:韩·可爱淘
 
· (出租)中动商场部分及写
· (出租)中动动漫基地&#
· 喜剧学院
· 《善德女王》剧情介绍
· 魔女18号 剧情
· 丑女无敌剧情介绍
· 魔女幼熙剧情介绍
· 龙游天下剧情介绍
· 震撼世界的七日剧情介绍
· 静静的白桦林剧情介绍
· 心情日记—老公今天我想对
· 旗舰剧情介绍
欢迎来到月影社区!如果您觉得这里不错,请推荐给您的朋友们。月影社区:http://wf66.com/

Unix/OpenBSD installs


查看有无更新版本

关键字:PHP 2006-9-22

 

This section contains notes and hints specific to installing PHP on OpenBSD 3.2. Using Binary Packages

Using binary packages to install PHP on OpenBSD is the recommended and simplest method. The core package has been separated from the various modules, and each can be installed and removed independently from the others. The files you need can be found on your OpenBSD CD or on the FTP site.

The main package you need to install is php4-core-4.2.3.tgz, which contains the basic engine (plus gettext and iconv). Next, take a look at the module packages, such as php4-mysql-4.2.3.tgz or php4-imap-4.2.3.tgz. You need to use the phpxs command to activate and deactivate these modules in your php.ini.

例子 3-3. OpenBSD Package Install Example# pkg_add php4-core-4.2.3.tgz# /usr/local/sbin/phpxs -s# cp /usr/local/share/doc/php4/php.ini-recommended /var/www/conf/php.ini (add in mysql)# pkg_add php4-mysql-4.2.3.tgz# /usr/local/sbin/phpxs -a mysql (add in imap)# pkg_add php4-imap-4.2.3.tgz# /usr/local/sbin/phpxs -a imap (remove mysql as a test)# pkg_delete php4-mysql-4.2.3# /usr/local/sbin/phpxs -r mysql (install the PEAR libraries)# pkg_add php4-pear-4.2.3.tgz

Read the packages(7) manual page for more information about binary packages on OpenBSD. Using Ports

You can also compile up PHP from source using the ports tree. However, this is only recommended for users familiar with OpenBSD. The PHP4 port is split into three sub-directories: core, extensions and pear. The extensions directory generates sub-packages for all of the supported PHP modules. If you find you do not want to create some of these modules, use the no_* FLAVOR. For example, to skip building the imap module, set the FLAVOR to no_imap. Older Releases

Older releases of OpenBSD used the FLAVORS system to compile up a statically linked PHP. Since it is hard to generate binary packages using this method, it is now deprecated. You can still use the old stable ports trees if you wish, but they are unsupported by the OpenBSD team. If you have any comments about this, the current maintainer for the port is Anil Madhavapeddy.

Unix/OpenBSD installs

[ 1 ]
Unix/OpenBSD installs num

打印本页 关闭

关于我们版权声明本站导航友情连结作品演示 TOP↑