If I understand correctly, httpd.conf of apache should be using 'LoadModule' syntax instead of 'export'.
But in the documentation I only see export:
So what is the correct syntax to add to the http.conf file to enable Apache service discovery in AIX?
Solved! Go to Solution.
Adding the export (preloading the library) is preferred with recent Oneagent version on AIX. You don't have to touch the apache configuration at all. You just need to ensure the environments are exported in the execution context where you start the apache server.
Adding the configuration manually to apache config files is still possible, but it is discouraged.
Actually, depending on your installation, the best method I know is to include those environments (DT_HOME / LDR_PRELOAD / LDR_PRELOAD64) in the <apachehome>/bin/envvars :
If your apache (ihs) is started using standard apachectl shell script (and not directly with httpd binary), this will work well. With OneAgent 1.175 this should not be necessary anymore since automatic injection should be available on AIX.