Apache-1.3.20+PHP-4.0.5 之安裝與設定
2009-05-13 13:54:43来源:未知 阅读 ()
前言:
addgroup www (gid 下載:
除了imap之外,其餘均可至交通大學之mirror站臺下載。您也可以至
本站檔案伺服器
尋找。
cd /usr/local/src 將檔案下載於此,並在這裡解壓縮與編譯安裝;您的編譯路徑若與本文件相異,請自行修改,照抄時,會出錯。
tar zxvf imap-4.7c2.tar.Z
tar zxvf php-4.0.5.tar.gz
tar zxvf apache_1.3.20.tar.Z
cd imap-4.7c
make bsf
cp imapd/imapd /usr/local/libexec/
ln -s c-client/ include
ln -s c-client/ lib
- apache之初始configure
cd ../../apache_1.3.20
./configure --prefix=/usr/local/apache
- php之編譯與安裝(含入imap模組)
cd ../php-4.0.5
./configure \
--prefix=/usr/local/php \
--with-apache=../apache_1.3.20 \
--with-gd=/usr/local/ \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-imap=../imap-4.7c \
--with-mysql=/usr/local/mysql \
--enable-trans-sid \
--enable-ftp
gmake
gmake install
cp php.ini-dist /usr/local/lib/php.ini
- --prefix=/usr/local/php
install architecture-independent files in PREFIX
- --with-apache=/usr/local/src/apache_1.3.20
Build Apache module. DIR is the top-level Apache build directory, defaults to /usr/local/etc/httpd.
- --with-gd=/usr/local
Include GD support (DIR is GD's install dir). Set DIR to shared to build as a dl, or shared,DIR to build as a dl and still specify DIR.
- --with-jpeg-dir=/usr/local
GD: jpeg dir for gd-1.8+
- --with-png-dir=/usr/local
png dir for pdflib 3.x
- --with-imap=/usr/local/include/imap
Include IMAP support. DIR is the IMAP include and c-client.a directory.
- --with-mysql=/usr/local/mysql
Include MySQL support. DIR is the MySQL base directory. If unspecified, the bundled MySQL library will be used.
- --enable-trans-sid
Enable transparent session id propagation
- --enable-ftp
Enable FTP support
- --prefix=/usr/local/php
- apache之編譯與安裝(含入php模組)
cd ../apache_1.3.20
./configure \
--prefix=/usr/local/apache \
--enable-module=most \
--enable-shared=max \
--enable-suexec \
--suexec-caller=www \
--activate-module=src/modules/php4/libphp4.a
gmake
gmake install
- --prefix=/usr/local/apache
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
- --prefix=/usr/local/apache
下一篇: AUTH -- 身份認證
- Freebsd oracle 10g 2009-05-13
- OpenBSD 4.5 2009-05-13
- DragonFly BSD 2.2.1发布 2009-05-13
- NetBSD 5.0发布 2009-05-13
- Flash 9 for FreeBSD 7.1 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash