| 您的位置:首页 > 文档 > 编程技术 > |
文章分类热门文章 |
在solaris 7下安装 PHP4 (with iPLANET)创建:2005-10-28 00:00:00 作者:Unlinux 来自: http://www.Unlinux.com 在solaris 7下安装 PHP4 (web服务为 iPLANET) 在此感谢 Lester June Cabrera 在 solaris 7 下安装 PHP4 (web服务为 iPLANET) ============================================ 1. gunzip -c php-4.0.2.tar.gz | tar xvf - 2. 编译 iPLANET 环境下的 PHP4 cd php-4.0.2 ./configure --with-nsapi= --enable-libgcc with-mysql=/usr/local/mysql -- enable-track-vars --enable-short-tags --enable-asp-tags make make install 拷贝所需的库文件到 /usr/lib =========================== cd /usr/local/lib cp libstdc++.so.2.10.0 /usr/lib cp libstdc++.a.2.10.0 /usr/lib 编辑 MIME.TYPES =============== 加入以下内容 #. add the ff line in mime.types type=magnus-internal/x-httpd-php exts=php 编辑 OBJ.CONF ============= 加入以下内容 # note place following two lines after mime types init! Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="/usr/netscape/server/bin/libphp4.so" Init fn=php4_init errorString="Failed to initialize PHP!" 启动 iPLANET 即可 ================= ./stop ./start 转载自:http://www.unlinux.com/doc/program/20051106/7984.html 【评论】 【加入收藏夹】 【大 中 小】 【打印】 【关闭】 ※ 相关链接
|