We are trying to install PHP agent on linux machine running apache with php-fpm here are the details of the installation:
Server: CentOS Linux release 7.1.1503 (Core)
Server version: Apache/2.4.6 (CentOS)
Server built: Mar 12 2015 15:07:19
Server's Module Magic Number: 20120211:24
Server loaded: APR 1.4.8, APR-UTIL 1.5.2
Compiled using: APR 1.4.8, APR-UTIL 1.5.2
Server MPM: prefork
forked: yes (variable process count)
Server compiled with....
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
And we have the following error when try to see the modules loaded in PHP:
PHP Warning: PHP Startup: dtphpagent (bootstrap failed, see dtagent log for details): Unable to initialize module
Module compiled with module API=0
PHP compiled with module API=20160303
These options need to match
in Unknown on line 0
Hi Roberto. Does the agent still provide data? the log message is a warning that something is wrong - but - just curious if the agent could still successfully load or not and whether it captures PurePaths
Got some similar issues in support tickets recently. So post the solution here for better visibility (better late than never 🙂
Long story short: If you are using PHP 7.0+, it is only supported by one agent on AppMon 7.0+. However, you may still see such issue in AppMon 7.0.x due to a bug in bootsrap agent that failed to transfer the agent platform to one agent. Please refer to this KB article for work around.
This issue should be fixed in AppMon 7.1+.