[imp] Can you help me about the installation of apache/php/MySQl/ssl ?

EdwardSPL@ita.org.mo EdwardSPL@ita.org.mo
Tue, 30 Jul 2002 13:17:41 +0800


Hello,

My system is Red Hat 6.2 system...
Now, I'm going to setup WebMail with IMP 3.x ( http://www.horde.org/imp
), so I must install apache, php, MySQL and SSL by sources code packages
!

These is my installation steps ( install MySQL by rpm packages ) :

1, cd gettext-0.10.40
./configure
make
make check
make install

2, cd ../openssl-0.9.6d
./config
make
make test
make install

3, cd ../mod_ssl-2.8.5-1.3.22
./configure --with-apache=../apache_1.3.22

4, cd ../apache_1.3.22
SSL_BASE=../openssl-0.9.6d \
./configure --enable-module=most --enable-shared=max \
--enable-module=ssl --enable-shared=ssl \
--disable-module=auth_dbm
make
make certificate TYPE=custom
make install

5, cd ../php-4.2.2
./configure \
 --with-apxs=/usr/local/apache/bin/apxs \
 --with-config-file-path=/usr/local/apache/conf \
 --enable-versioning --with-imap --with-imap-ssl \
 --with-ldap --with-mysql --enable-ftp \
 --with-gettext --disable-debug --enable-memory-limit=yes \
 --enable-track-vars
make
make install

cp /usr/local/src/php-4.2.1/php.ini-dist /usr/local/apache/conf/php.ini

Edit /usr/lcoal/apache/conf/httpd.conf :

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

After run /usr/local/apache/bin/apcahectl startssl, the php and https (
SSL ) can't for work :

result of php :

When I access a file via a browser,  I get the "Your are downloading the
file test.php" dialog box up in my browser.

result of ssl ( https ) :

can not find the page !

So, can you help me ?

Thanks,

Edward.