apxs failure regarding httpd.conf and LoadModule
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: apache2
I am building PHP 5.3.2RC1 from source on Ubuntu 9.10 Server Edition. My apache2-mpm-prefork package is at version 2.2.12-1ubuntu2.1. The "make install" step produces the following output:
Installing PHP SAPI module: apache2handler
/usr/
/usr/
libtool: install: cp .libs/libphp5.so /usr/lib/
libtool: install: cp .libs/libphp5.lai /usr/lib/
libtool: install: warning: remember to run `libtool --finish /data/wd/
chmod 644 /usr/lib/
apxs:Error: Activation failed for custom /etc/apache2/
apxs:Error: At least one `LoadModule' directive already has to exist..
make: *** [install-sapi] Error 1
Bug 1) Shouldn't Ubuntu's version of apxs be patched to put directives in files in the /etc/apache2/
Bug 2) The workaround of adding a bogus "LoadModule" line in httpd.conf (as suggested in http://
We'll get this fixed for lucid.
Regards
chuck