<marquee width=358>欢迎来到月影社区,希望这里可以成为您美丽的梦幻花园,如果你觉得这里好请分享给您的朋友!- wf66.com</marquee> 将月影社区设置为您的首页将月影社区地址加入到您的收藏栏
欢迎您,首页 >> 信息中心 >> Installation on UNIX systems


Installation on UNIX systems


This section will guide you through the general configuration and installation of PHP on Unix systems. Be sure to investigate any sections specific to your platform or web server before you begin the process.

Prerequisite knowledge and software:

Basic UNIX skills (being able to operate "make" and a C compiler, if compiling)

An ANSI C compiler (if compiling)

flex (for compiling)

bison (for compiling)

A web server

Any module specific components (such as gd, pdf libs, etc.)

There are several ways to install PHP for the Unix platform, either with a compile and configure process, or through various pre-packaged methods. This documentation is mainly focused around the process of compiling and configuring PHP.

The initial PHP setup and configuration process is controlled by the use of the commandline options of the configure script. This page outlines the usage of the most common options, but there are many others to play with. Check out the Complete list of configure options for an exhaustive rundown. There are several ways to install PHP:

As an Apache module

As an fhttpd module

For use with AOLServer, NSAPI, phttpd, Pi3Web, Roxen, thttpd, or Zeus.

As a CGI executable

Apache Module Quick Reference

PHP can be compiled in a number of different ways, but one of the most popular is as an Apache module. The following is a quick installation overview.

例子 3-4. Quick Installation Instructions for PHP 4 (Apache Module Version) 1. gunzip apache_1.3.x.tar.gz2. tar xvf apache_1.3.x.tar3. gunzip php-x.x.x.tar.gz4. tar xvf php-x.x.x.tar5. cd apache_1.3.x6. ./configure --prefix=/www7. cd ../php-x.x.x8. ./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars9. make10. make install11. cd ../apache_1.3.x12. ./configure --activate-module=src/modules/php4/libphp4.a13. make14. make install15. cd ../php-x.x.x16. cp php.ini-dist /usr/local/lib/php.ini17. Edit your httpd.conf or srm.conf file and add: AddType application/x-httpd-php .php18. Use your normal procedure for restarting the Apache server. (You must stop and restart the server, not just cause the server to reload by use a HUP or USR1 signal.)Building

When PHP is configured, you are ready to build the CGI executable. The command make should take care of this. If it fails and you can't figure out why, see the Problems section.
[月影读书频道 http://wf66.com/]
[月影读书频道 http://wf66.com/]

Installation on UNIX systems 2006-9-22
转到本主题第:[ 1 ]


总计0页 [ ]上一页 下一页
呢称: * 您尚未登陆,请登录
来自: *


精品文萃 情感天地 言情小说
网络小说 玄幻小说 悬疑恐怖
武侠小说 古典品谈 外国名著
儿童文学 会员原创 学习园地
爆笑网文 星座占卜 影音动漫
娱乐新闻 影视剧情
青竹诗歌 个人诗集 宋词雅赏
国际新闻 国内新闻 科技新闻
图文专区 艺术长廊 桌面壁纸
精品素材 像素图片
单幅漫画 爆笑四格 连环漫画
电脑入门 图形图像 编程开发
我爱Q宠 最新攻略 最新秘籍
游戏新闻 技巧心得
帕格节电 财经资讯 股市证券
百科知识 外语学院 潮流时尚
健康医疗 宠物花卉 汽车地带
面食甜点 家常菜品 药膳食疗
美食天下 烹饪技巧 松辽风味
燕京风味 巴蜀风味 滇黔风味
赣江风味 徽皖风味 闽台风味
齐鲁风味 中州风味 岭南风味
荆楚风味 三晋风味 淞沪风味
苏扬风味 潇湘风味 钱塘风味
民族风味 素斋仿荤
管理杂谈 谈经论道 培训激励
经营战略 职场生涯 公关交际
关于我们版权声明本站导航友情连结作品演示 TOP↑
本论坛言论纯属发表者个人意见,与£月影社区£立场无关。 皖ICP备16024038号-1
Copyright ©2001-2006 MoonShadow. All rights reserved.  Version 4.0  Licence 2006.4.2
建站天数:7142天 本站基于ASP+JS构建,完全自主开发,版权归属月影社区 管理员QQ:23165062 Time:62ms