I have just created a new system with Ubuntu LTS 10.04. Everything there is working smoothly. I have apache2 loading and running automatically when I boot.
I now want to add mod_perl (in the .so form) to apache2. I have faithfully followed the mod_perl 2 installation directions in the documentation from perl.apache.org. The builds were with httpd-2.2.18.tar.gz and mod_perl-2.0-current.tar.gz. All tests ran cleanly. 'make install' worked for both mod_perl and apache2.
[Aside: I am aware that some confusion exists in nomenclature due to Debian/Ubuntu using different names for things, e.g., they refer to httpd.conf as apache2.conf. Note that the mod_perl build did create a file named 'httpd.conf' in one of my subdirectories.]
The build of the apache2 and mod_perl modules went into the directory:
/home/tomkane/httpd
in their respective subdirectories as the build directions suggested. However, when I restart my server I still see apache2 version 2.2.14 running (it came with the Ubuntu installation).
I am still new in the Unix/Linux environment -- at least from the standpoint of installing systems software -- so I am sure I am missing something. I took the installation directions literally as I didn't really know how to read between the lines as more experienced folks would have done.
I think I need to copy the apache2 executable for version 2.2.18 (at the very least) to the directory:
/usr/lib/apache2/mpm-prefork/apache2
but I am not sure. I may need to copy a lot more files as well but don't feel secure enough to try that.
Can anyone point me toward the missing piece(s)? (Note: The Ubuntu server forum seems devoid of mod_perl knowledge.)
Thanks.
Tom Kane
