Would like to monitor transactions running on PHP applications and also monitor mqsql db calls that that these PHP applications are making.
installed the PHP extension and also install the PHP agent (probe). It seems like went ok.
restarted both apache and APMIA, but no metrics getting reported in APM UI.
It looks like PHP is a custom install. The probe installer did not copy the wily_php_agent.so file and the INI file to the correct PHP folders for PHP installation. It only copied to /etc/php/7.4/cli/conf.d but this environment is using /etc/php/7.4/fpm.
To get this to work with 10.8 SP1 (2023.X agent with PHP extension):
wily_php_agent.ini file copied to:
/etc/php/7.4/fpm/conf.d
wily_php_agent.so copied to:
/usr/lib/php/20191010
restarted services:
service php7.4-fpm restart
service apache2 restart
/usr/app/apmia/APMIACtrl.sh restart
Agent started reporting PHP metrics successfully with PHP 7.4