Go to All Forums

PHP agent - New enhancements 2.9.4

Hi,

On the release notes www.site24x7.com/help/apm/php-agent/php-agent-release-notes.html it seems now possible to passe application name as an argument and track domain names.

Have you more infos/doc about this features ?

THank in advance

Like (2) Reply
Replies (4)

Re: PHP agent - New enhancements 2.9.4

Hi Gaetan, 

Regret the delay. 

Yes you can pass the application name as parameter in the installation steps, (once you have extracted agent zip to /opt/ directory)

cd /opt/zpa/bin

sh configure.sh <licensekey> <application_name> 

 

You should also see the installer print the message, of the application name passed in the command line. If no application name is specified, it will use "PHP-Application" by default. 

PS: We have updated the instructions in our help doc as well. 

https://www.site24x7.com/help/apm/php-agent/install-php-agent.html#script

 

Thanks & Regards,
Shrinivasan S S
Developer, APM Insight PHP Agent

Like (0) Reply

Re: Re: PHP agent - New enhancements 2.9.4

Hello,

Thank you for your reply.

Ok and if i have multiple apps in a single server how can i set multiple different app names?
And what about domain names ?

Thanks in advance
Like (0) Reply

Re: Re: PHP agent - New enhancements 2.9.4

Hi Gaetan,

Currently all the applications will be monitored under a single name. So, even if you have multiple applications, they'll be grouped under a single application name in Site24x7 console. We are working to support monitoring applications individually and should be available in the upcoming releases.

 

We do support capturing domain names of application URLs. To track domain names in you transaction, you can set the following configuration in the zpa.ini file.

zpa.capture_httphost=1

Note that the zpa.ini file will be present in the PHP's additional configuration directory. This location can be found using the following command,

php -i | grep "Scan this dir"

PS: Once you have modified the ini files, you need to restart apache/nginx service to effect the changes. You can always verify the currently loaded configuration by running this command

php -i | grep zpa

Hope this helps,

Thanks & Regards,
Shrinivasan S S
Developer, APM Insight PHP

Like (0) Reply

Re: Re: Re: PHP agent - New enhancements 2.9.4

Ok thank you, i will wait for the upcoming releases.

Have a nice day,

Gaëtan

Like (0) Reply

Was this post helpful?