books
Free Books / Computers / Practical mod_perl /

previous page: 3.5.4. Building mod_perl as a DSO via APACI
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 3.6. Building mod_perl with Other Components

3.5.5. Building mod_perl as a DSO via APXS




Description

This section is from the "Practical mod_perl" book, by Stas Bekman and Eric Cholet. Also available from Amazon: Practical mod_perl

We've seen how to build mod_perl as a DSO inside the Apache source tree, but there is a nifty alternative: building mod_perl as a DSO outside the Apache source tree via the new Apache 1.3 support tool called APXS. The advantage is obvious: you can extend an already installed Apache with mod_perl even if you don't have the sources (for instance, you may have installed an Apache binary package from your vendor or favorite distribution).

Here are the build steps:

panic% tar xzvf mod_perl-1.xx.tar.gz
panic% cd mod_perl-1.xx
panic% perl Makefile.PL \
    USE_APXS=1 \
    WITH_APXS=/path/to/bin/apxs \
    EVERYTHING=1 \
    [...]
panic% make && make test
panic# make install

This will build the DSO libperl.so outside the Apache source tree and install it into the existing Apache hierarchy.

 

Continue to:

  • prev: 3.5.4. Building mod_perl as a DSO via APACI
  • Table of Contents
  • next: 3.6. Building mod_perl with Other Components

Books by Stas Bekman:















TOP
previous page: 3.5.4. Building mod_perl as a DSO via APACI
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 3.6. Building mod_perl with Other Components

Topics

  • Animals
  • Architecture
  • Arts
  • Business
  • Computers
  • Crafts
  • Fairy Tales
  • Finance
  • Flora and Plants
  • Cooking
  • Gardening
  • Health and Healing
  • History
  • Home Improvements
  • Languages
  • New Age
  • Novels
  • Real Estate
  • Reference
  • Religion
  • Science
  • Society
  • Sports
  • Travel
  • Outdoors


Search

My Books

Headaches Begone! A Systemic Approach To Healing Your Headaches
Don't Let Your Bike Seat Ruin Your Sex Life Book

Discover

  • Answers FAQ

[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007-2021 StasoSphere.com