You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ed...@ita.org.mo on 2002/07/31 18:00:49 UTC

recompile and reinstall apache/php/ssl problem

Hello,

I have just recompile and reinstall these sources code package...
But I found I need to add these line into httpd.conf :

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

Must I add these line into httpd.conf under apache 1.3.22 ? Why can't I
uncomment these line ?

then the php ( create a php with <?phpinfo()?> will good for work with
apache !

And the https protocol can't for work with apache :

Is here any mistake about my installation steps :

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

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

3, cd ../mod_ssl-2.8.10-1.3.26
./configure --with-apache=../apache_1.3.26 --with-ssl=../openssl-0.9.6d

4, cd ../apache_1.3.26
./configure \
--enable-module=most
--enable-shared=max
--enable-module=ssl
--enable-shared=ssl
--enable-module=rewrite
--enable-shared=rewrite
--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 --enable-memory-limit=yes \
 --enable-track-vars --with-kerberos
make
make install

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

Thank for your help !

Edward.




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org