apache and apache-ssl with a twist of php3 and mysql

Marc Chung mchung@asu.edu
Sat, 20 May 2000 21:49:42 -0700


Hmm,

Apache and Apache SSL?  I haven't dealt with that combination, I have dealt
with the OpenSSL and Mod_SSL combination.. (works quite well)

Just a little clarification.. what does mod_php3-mysql do?  direct interface
to the mysql server?  faster access?

I really it when someone offers me an entirely DIFFERENT solution rather
than work with the problem currently at hand..

but in the event that you were loooking for another solution .. here's the
summary of something I slap together on quite the regular basis

openssl.org, modssl.org, openldap.org, mysql.com, apache.org, php.net,
cpan.org

for the record.. I like to use prefix a lot.. (referring to ssl, sql and
ldap)

---
install openssl /usr/local/ssl
install mysql /usr/local/mysql
install openldap /usr/local/ldap

apache>     ./configure --prefix=usr/local/apache \
                        --activate-module=src/modules/perl/libperl.a \
                        --activate-module=src/modules/php/libphp.a \
                        --activate-module=src/modules/ssl/libssl.a

mod_php>
   ./configure --with-apache= --with-ldap --with-mysql --enable-track-vars

            make
            make install

mod_ssl>    ./configure --with-apache=../apache_x.xx

mod_perl>   perl Makefile.PL USE_APACI=1 EVERYTHING=1
            SSL_BASE=/usr/local/ssl
            APACHE_PREFIX=/usr/local/apache
            APACI_ARGS=--enable-module=ssl,--enable-module=rewrite

            make
            make install

apache>     ./configure --prefix=usr/local/apache \
                        --activate-module=src/modules/perl/libperl.a \
                        --activate-module=src/modules/php/libphp.a \
                        --activate-module=src/modules/ssl/libssl.a

            make
            make certificate
            make install

install DBI/DBD for mysql
rewrite kernel .. u made it this far? <g> ..
--

cheers

Marc


----- Original Message -----
From: "Joel Hanger" <jhanger@uswest.net>
To: <plug-discuss@lists.PLUG.phoenix.az.us>
Sent: Saturday, May 20, 2000 1:27 PM
Subject: apache and apache-ssl with a twist of php3 and mysql


> ok.. here goes :P
>  I set up apache with mod_php3 and mod_php3-mysql
> no problems there.. in fact it works great! the problem
> is I want my database to be accessed using ssl, it's all
> using php3 interface, and I haven't been able to get php3
> working with apache-ssl. is there anyone who knows how to
> get them set up? how I might go about doing this or if they
> have a php3 module for the ssl version of apache? thanks in
> advance.
>   Joel
>
> _______________________________________________
> Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>