apache+SSL+php+mysql安装流程,实验成功!!
apache+php+mysql+ssl安装流程,今天才OK
SSL绝对OK
————————————
MySQL-shared-4.0.12-0.i386.rpm
MySQL-client-4.0.12-0.i386.rpm
MySQL-devel-4.0.12-0.i386.rpm
MySQL-server-4.0.12-0.i386.rpm
apache_1.3.27.tar.gz
php-4.3.1.tar.gz
————————————————————
2.Build OpenSSL
# cd openssl-0.9.7b
# ./config
# make
# cd ..
3.Build and install the SSL-aware Apache
# cd mod_ssl-2.8.14-1.3.27
./configure \
--with-apache=../apache_1.3.27\
--with-ssl=../openssl-0.9.7b\
--prefix=/usr/local/apache
# cd ..
# cd apache_1.3.27
# make
# make certificate
# make install
4.Build PHP
# cd ../php-4.3.1
# ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --enable-track-vars --disable-debug
# make
# make install
cp php.ini-dist /usr/local/lib/php.ini
增加PHP。INI
AddType application/x-httpd-php .php .php3
DirectoryIndex index.php index.php3 default.php index.htm index.html default.htm
5.Fire up your SSL-aware Apache and try it outins
(please replace "local-host-name" with the fully qualified domain name (FQDN) of your website which you entered at the "make certificate" step above)
# /usr/local/apache/bin/httpd -DSSL
——————————————————————
有个问题~
这样安装后,APACHE不支持PHP了~~
奇怪!!请教大家~~
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
老大们~~帮帮我啊