httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Desmond Lee" <desmon...@hotmail.com>
Subject Re: apache 2.0.39 & php 4.2.1 compile
Date Thu, 04 Jul 2002 17:27:04 GMT
Here you go, this is a message sent by simon

Hello,

  Jonathan, sorry for bothering you. I just want to know I got it to work
already. Sorry for the trouble.

  Desmond, Carlos, try this

1. Compile Apache 2.0.39 with this

    a) ./configure --enable-ssl --enable-so
    b) make
    c) make install
    d) I still cannot install mod_ssl certificates from apache 2.x.x but if 
I
copy all the certificate directories located in the conf directory for 
apache
1.3.x.x installation, to /usr/local/apache2/conf/ directory, they worked.

2. Then compile php 4.2.1 with this
     a) ./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-pgsql=/usr/local/pgsql --with-mysql=no
    b) open up file php-4.2.1/sapi/apache2filter/php_functions.c and change 
line
93 to the following
#if !AP_MODULE_MAGIC_AT_LEAST(20020506,0)
        ADD_STRING(boundary);
#endif
basically add AP_ after ! and before M.

    c) make
    d) make install

I use pgsql since it is free for both commercial and non commercial use.. ;)

3. Then modify conf/httpd.conf file to add the line
      AddType application/x-httpd-php .php I add that line after ther tar 
type
line...

4. start apache with mod_ssl by running /usr/local/apache2/bin/apachectl
startssl
if you have enable PEM pass phrase enter them.....
if not.... you are set to go.... <?phpinfo()?> responded with whole bunch of
info... ;) ;)

Good Luck !!!

I am running on RedHat Linux 2.4.18-5 with all the latest updates on a 
Celeron
333 machine with 320 Memory.

Simon Su



_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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


Mime
View raw message