You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Gregory <gr...@projectwave.com> on 2000/04/01 22:40:02 UTC

recipe for Apache/mod_{perl,ssl}/php

If someone would be so kind as to share their recipe for 
Apache/mod_{perl,ssl}/php.  I have been trying to get this configured 
on RedHat 6.2 with no luck.

This is what i used first;

#configure mod_ssl
% cd mod_ssl-2.6.2-1.3.12
% ./configure --with-apache=../apache_1.3.12

#initial configure apache
% cd ../apache_1.3.12
% SSL_BASE=/usr/local/ssl ./configure --prefix=/usr/local/apache \
--enable-module=ssl --enable-module=most --enable-shared=max

#configure, build & install php
% cd ../php-3.0.15
% CFLAGS='-O2 -I/usr/local/ssl/include' ./configure \
--with-mysql=/usr/local/mysql --with-apache=../apache_1.3.12 \
--with-gd --with-zlib --enable-track-vars

% make && make install

#configure mod_perl
% cd ../mod_perl-1.22
% 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=most,--enable-shared=ma 
x,--activate-module=src/modules/php3/libphp3.a,--enable-module=php3

Keep running into these errors messages;

'USE_APACHI' is not a known MAKEMAKER parameter name.
which: no apxs in (/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)

I've tried some of the other ways to build this that came with 
mod_perl, but they all seem to be lacking 'apxs'.  A search for apxs 
turns up /usr/local/apache_1.3.12/src/apxs.pl. I've tried --with=dir, 
but that didn't work.  Is something else that needs to be installed? 
What is missing?

Thanks

Gregory