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

Installation on UNIX systems


查看有无更新版本

关键字:PHP 2006-9-22

 

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.

Installation on UNIX systems

[ 1 ]
Installation on UNIX systems num

打印本页 关闭

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