[imp] Can you help me about php + apache + mysql + ssl for IMP 3.x ?
EdwardSPL@ita.org.mo
EdwardSPL@ita.org.mo
Mon, 29 Jul 2002 20:59:06 +0800
Hello,
I'm installing apache + php + ssl by sources code packages for Redhat
6.2 system,
then I can use IMP 3.x ( Web Mail System ), but after the installation
of them,
I can't use php and https... so can you help me ?
When I try and access a php file via a browser, I get
"Your are downloading the file testphp.php" dialog box up in my browser.
My installation steps :
1.Install openssl
cd openssl-0.9.6d
./config
make
make test
make install
2. Install gettext
cd gettext-0.10.40
./configure
make
make check
make install
make clean
3.Install mod_ssl
cd mod_ssl-2.8.5-1.3.22
./configure --with-apache=../apache_1.3.22 --with-ssl=../openssl-0.9.6d
5.Install apache
cd apache_1.3.22
EAPI_MM=SYSTEM ./configure --enable-rule=SHARED_CORE \
--enable-module=most --enable-shared=max
make
make certificate TYPE=custom
make install
6. Install php
cd php-4.2.1
./configure --with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/conf --enable-ftp \
--with-imap --with-kerberos --with-imap-ssl --with-ldap \
--with-mysql --enable-versioning --with-gettext
make
make install
Edit /usr/local/apache/conf/httpd.conf :
AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps
Any mistake in here ?
Thank for your help !
Edward.