在RedHat 7.2上,假设所有安装程序包都下在/pub下面,源码包都用红色表示,
假设在telnet或ssh文本界面下进行如下所有操作..........
在RedHat 7.2上,假设所有安装程序包都下在/pub下面,源码包都用红色表示,
假设在telnet或ssh文本界面下进行如下所有操作。
| CFLAGS=-O2 -I/usr/local/ssl/include ./configure --with-apache=../apache_1.3.24 | <>
| --enable-memory-limit=yes --with-config-file-path=/usr/local/lib --with-imap --enable-ftp | <>
| --with-mysql=/usr/local/mysql --enable-sockets --enable-debug=no --enable-track-vars | <>
| --with-gd=/usr/local --with-jpeg-dir=/usr/local --with-png-dir=/usr/local | <>
| --with-curl=/usr/local/curl --with-zlib --with-ttf --with-java | <>
Install target=_blank>Zend Optimizer (这步可在最后完成)
| SSL_BASE=/usr/local/ssl ./configure --prefix=/www --enable-module=ssl --enable-module=so | <>
| --activate-module=src/modules/php4/libphp4.a --enable-rule=SSL_SDBM --enable-module=rewrite | <>