|
I am trying to install mod_evasive on webfaction and i get an error permission denied because it is trying to install in usr/lib folder. I have tried to install it in webapps/{appname}/apache2/modules through
But it is not working how would i compile an apache module in a local directory with apxs? |
|
The '--libexecdir' and '--prefix=' flags will set this for most modules. There are instances which this is not the case, such as poorly written install code or the installation of a module which assumes you have root access. We would need to be able to see the complete error being generated and possibly the install script it is fetching itself. Command:
Produces
try setting the CPPFLAGS, LDFLAGS, and LD_LIBRARY_PATH flags in the documentation here. Try only compiling the module and not automatically install the module. Then manually copy the module to the modules directory. You should just need to remove the 'i' from the options. |