当前位置: 首页 > 图文教程 > 网络编程 > PHP > apache with ssl安装

PHP
《PHP设计模式介绍》第十三章 适配器模式
《PHP设计模式介绍》第十四章 动态记录模式
《PHP设计模式介绍》第十五章 表数据网关模式
《PHP设计模式介绍》第十六章 数据映射模式
《PHP设计模式介绍》第十七章 MVC 模式
Zend Framework 入门——快速上手
Zend Framework 入门——多国语言支持
Zend Framework 入门——错误处理
Zend Framework 入门——页面布局
详细介绍php5编程中的异常处理
PHP5 OOP编程中的代理与异常
PHP程序的常见漏洞攻击分析
PHP.MVC的模板标签系统
PHP教程:PHP编码书写规范
PHP开发大型项目的方法:OOP思想
php使用curl模拟用户登陆
php对gb编码动态转utf-8编码的几种方法评测
php设计模式介绍之章代理模式
“在phpMyAdmin使用用户口令登陆”补充
PHP入门速成

PHP 中的 apache with ssl安装


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 185 ::
收藏到网摘: n/a

apache为1.3.11 mysql+php3
另需以下几个文件:
mm-1.1.3.tar.gz
openssl-0.9.6.tar.gz
mod_ss-2.5.1-1.3.11.tar.gz
rsaref20.tar.Z
将以上几个文件放在同一目录下,解压。
tar zxvf mysql.tar.gz
cd mysql
./configure --prefix=/usr/local/mysql
make
make install
tar zxvf apache.tar.gz
tar zxvf php.tar.gz
cd apache
./configure --prefix=/usr/local/httpd
cd php
./configure --with-mysql=/usr/local/mysql \
--with-apache=../apache \
--enable-track-vars
make
make install

tar zxvf mm
tar zxvf openssl
tar zxvf mod_ssl

makdir rsaref-2.0
cd rsaref-2.0
gzip -d -c ../rsaref20.tar.z | tar xvf -
cp -rp install/unix local
cd local
make
mv rsaref.a librsaref.a

cd openssl
config -fPIC
make
make test

cd mm
./configure --disable-shared
make

cd mod_ssl
./configure --with-apache=../apache \
--with-crt=/path/to/your/server.crt \
--with-key=/path/to/your/server.key 如未申请,不加此项设定

cd apache
SSL+BASE=../openssl \
EAPI_MM=../mm
./configure --enable-module=ssl \
--prefix=/usr/local/httpd \
--activate-module=src/modules/php3/libphp3.a
make
(make certificate 如未申请认证,则以此产生一个测试用的认证。)
make install

启动:apachectl startssl