custom apache2 module will not load with error message “Can't locate API module structure”
问题 I'm a windows developer but now trying to build a very simple apache2 module on linux using apxs2 tool as described in this article: [http://www.codeproject.com/Articles/491909/Apache-2-x-Modules-In-Cplusplus-Part-1][1] The module is being successfully build but cannot be loaded for some reason. Apache issues following error on restart: "Can't locate API module structure". Now some details. First of all trying to build the module with following command apxs2 -i -a -c mod_pixmongo.cpp It fails