Thread: mod_perl apache

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Posts
    174
    Rep Power
    18

    mod_perl apache


    I have mod_perl and apache from ports

    I need to build mod_perl into apache not as DSO

    ?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    Then run make extract in /usr/ports/www/mod_perl and cd to the work/mod_perl-1.26 directory and read the INSTALL file. You can remove BUILD_DEPENDS, RUN_DEPENDS and change USE_APXS to 0 and so on from the Makefile at /usr/ports/www/mod_perl. Just read the INSTALL file.
    Don't forget, you also need to make extract your apache13 src and rebuild it statically.

    Why you need to build mod_perl statically? If you don't have a valid reason, just don't do it. Perl is a very critical utility in FreeBSD, a slight misconfiguration to mod_perl can break your entire OS.
    Last edited by freebsd; February 22nd, 2002 at 01:39 PM.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Posts
    174
    Rep Power
    18
    sorry very tired

    but mod_perl is not recommended to be run as dso
    cause of tons of bugs

    thanks for your answer

    but you say rebuild apache statically ?
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    >> but mod_perl is not recommended to be run as dso cause of tons of bugs

    Who told you that? And that's why you should install mod_perl from the ports collection as patches and installation procedures and all the hard works are already done by that port maintainer for you.

    It's your choice if you choose the other way. So don't ask for help but yourself if you choose to do it differently.
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Posts
    174
    Rep Power
    18
    okay,
    thats why I asked

    I will keep my current.

    and investigate later.

    Thanx
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Posts
    174
    Rep Power
    18
    so
    httpd -l <<that shows the statically linked modules?
    ie: for me returns
    http_core.c
    mod_so.c

    and if mod_perl was static it would be there

IMN logo majestic logo threadwatch logo seochat tools logo