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

Unix/HP-UX installs


查看有无更新版本

关键字:PHP 2006-9-22

 

This section contains notes and hints specific to installing PHP on HP-UX systems.

例子 3-1. Installation Instructions for HP-UX 10 From: paul_mckay@clearwater-it.co.uk04-Jan-2001 09:49(These tips are for PHP 4.0.4 and Apache v1.3.9) So you want to install PHP and Apache on a HP-UX 10.20 box? 1. You need gzip, download a binary distribution fromhttp://hpux.connect.org.uk/ftp/hpux/Gnu/gzip-1.2.4a/gzip-1.2.4a-sd-10.20.depot.Zuncompress the file and install using swinstall 2. You need gcc, download a binary distribution from http://gatekeep.cs.utah.edu/ftp/hpux/Gnu/gcc-2.95.2/gcc-2.95.2-sd-10.20.depot.gz gunzip this file and install gcc using swinstall. 3. You need the GNU binutils, you can download a binary distribution from http://hpux.connect.org.uk/ftp/hpux/Gnu/binutils-2.9.1/binutils-2.9.1-sd-10.20.depot.gz gunzip and install using swinstall. 4. You now need bison, you can download a binary distribution from http://hpux.connect.org.uk/ftp/hpux/Gnu/bison-1.28/bison-1.28-sd-10.20.depot.gz install as above. 5. You now need flex, you need to download the source from one of thehttp://www.gnu.org mirrors. It is in the non-gnu directory of the ftp site. Download the file, gunzip, then tar -xvf it. Go into the newly created flexdirectory and do a ./configure, then a make, and then a make install If you have errors here, it's probably because gcc etc. are not in yourPATH so add them to your PATH. Right, now into the hard stuff. 6. Download the PHP and apache sources. 7. gunzip and tar -xvf them. We need to hack a couple of files so that they can compile ok. 8. Firstly the configure file needs to be hacked because it seems to losetrack of the fact that you are a hpux machine, there will be abetter way of doing this but a cheap and cheerful hack is to put lt_target=hpux10.20 on line 47286 of the configure script. 9. Next, the Apache GuessOS file needs to be hacked. Underapache_1.3.9/src/helpers change line 89 from "echo "hp${HPUXMACH}-hpux${HPUXVER}"; exit 0" to: "echo "hp${HPUXMACH}-hp-hpux${HPUXVER}"; exit 0" 10. You cannot install PHP as a shared object under HP-UX so you must compileit as a static, just follow the instructions at the Apache page. 11. PHP and apache should have compiled OK, but Apache won't start. you needto create a new user for Apache, eg www, or apache. You then change lines 252and 253 of the conf/httpd.conf in Apache so that instead of User nobody Group nogroup you have something like User www Group sys This is because you can't run Apache as nobody under hp-ux. Apache and PHP should then work. Hope this helps somebody,Paul Mckay.

Unix/HP-UX installs

[ 1 ]
Unix/HP-UX installs num

打印本页 关闭

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