Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Apache+mod_ssl+mod_dav+mod_perl+php

Discussion in 'EasyApache' started by billau, Jul 31, 2004.

  1. billau

    billau Well-Known Member

    Joined:
    Dec 24, 2003
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Brisbane, Australia
    download the sources from

    http://ftp.die.net/pub/apache+modssl+modperl+php4/
    http://seti.unipg.it/redhat-7.3/disc2/RedHat/RPMS/
    ****
    #!/bin/sh
    # Cheap hack to do the impossible build of apache, mod_perl, mod_ssl, and
    # php4 into one static httpd binary. Tars need to be in current dir.

    exitonerror () {
    [ $? -ne 0 ] && exit $?
    }
    trap exitonerror DEBUG

    umask 077

    rm -rf build
    mkdir build
    cd build

    zcat ../apache_1.3.27.tar.gz | tar -xf -
    zcat ../mod_dav-1.0.3-1.3.6.tar.gz | tar -xf -
    zcat ../mod_perl-1.27.tar.gz | tar -xf -
    zcat ../mod_ssl-2.8.12-1.3.27.tar.gz | tar -xf -
    zcat ../php-4.3.0.tar.gz | tar -xf -

    cd mod_ssl-2.8.12-1.3.27
    ./configure --with-apache=../apache_1.3.27

    cd ../apache_1.3.27
    SSL_BASE=SYSTEM ./configure --with-layout=RedHat \
    --enable-module=ssl --enable-module=most --enable-module=so

    cd ../mod_dav-1.0.3-1.3.6
    ./configure --with-apache=../apache_1.3.27
    make
    make install

    cd ../php-4.3.0
    ./configure \
    --with-mysql=/usr --with-psql=/usr --with-apache=../apache_1.3.27 \
    --with-gd --with-zlib --enable-track-vars --with-curl --with-ssl

    make
    make install-sapi

    cd ../mod_perl-1.27
    perl Makefile.PL DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 SSL_BASE=SYSTEM \
    APACI_ARGS=--with-layout=RedHat,--enable-module=ssl,--enable-module=most,--enable-module=so,--activate-module=src/modules/dav/libdav.a,--activate-module=src/modules/php4/libphp4.a

    make
    #make install
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. IziTop

    IziTop Member

    Joined:
    Sep 12, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    151
    Hi
    I have installed your hack, it seems it has been installed, the installation end by:
    Manifying blib/man3/Apache::PerlRun.3pm
    Manifying blib/man3/Apache::FakeRequest.3pm
    Manifying blib/man3/mod_perl_cvs.3pm
    Manifying blib/man3/Apache::ExtUtils.3pm
    Manifying blib/man3/Apache::Symdump.3pm
    Manifying blib/man3/Apache::RegistryLoader.3pm
    Manifying blib/man3/Apache::Status.3pm

    But, the mod_perl.c error of httpd is still there after.

    So, I don't know what to do...
    Thank you for your help!
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice