<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Install php agent on Elastic Beanstalk in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Install-php-agent-on-Elastic-Beanstalk/m-p/726601#M5366</link>
    <description>&lt;P&gt;Hi Gamer - The easiest way to get the agent up-and-running is to use &lt;A href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/ebextensions.html" target="_self" rel="nofollow noopener noreferrer"&gt;.ebextensions&lt;/A&gt; to configure your environment to install the agent for you on startup. I've attached a sample appdynamics.config for you below to look at. It will probably work for you as is, but you will need to update line 24 (&lt;CODE class="text plain"&gt;06install&lt;/CODE&gt;), replacing the following elements with the details for your controller/app and save:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;ACCOUNT_NAME&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;ACCESS_KEY&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;CONTROLLER_URL&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;CONTROLLER_PORT&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;APPLICATION_NAME&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;APPLICATION_TIER&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;-Benjamin&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;AppDynamics.config:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;files:
    "/tmp/appdynamics-php-agent-linux_x64-phpagent-4.4.1.343.tar.bz2":
        mode: "000444"
        owner: ec2-user
        group: ec2-user
        source: https://packages.appdynamics.com/php/phpagent-4.4.1.343/appdynamics-php-agent-linux_x64-phpagent-4.4.1.343.tar.bz2

# commands are executed in alphabetical order
commands:
    01reset:
        command: "rm -rf /opt/AppDynamics/phpagent"
        ignoreErrors: true
    02makedir:
        command: "mkdir -p /opt/AppDynamics/phpagent"
    03unzip:
        command: "tar -xvjf /tmp/appdynamics-php-agent-linux_x64-phpagent-4.4.1.343.tar.bz2"
        cwd: /opt/AppDynamics/phpagent
    04owner:
        command: "chown -R webapp:webapp phpagent"
        cwd: /opt/AppDynamics
    05logperms:
        command: "chmod 777 /opt/AppDynamics/phpagent/appdynamics-php-agent-linux_x64/logs"
    06install:
        command: "./install.sh -s -a=&amp;lt;ACCOUNT_NAME&amp;gt;@&amp;lt;ACCESS_KEY&amp;gt; &amp;lt;CONTROLLER_URL&amp;gt; &amp;lt;CONTROLLER_PORT&amp;gt; &amp;lt;APPLICATION_NAME&amp;gt; &amp;lt;APPLICATION_TIER&amp;gt; $HOSTNAME"
        cwd: /opt/AppDynamics/phpagent/appdynamics-php-agent-linux_x64
    07cleanup:
        command: "rm /tmp/appdynamics-php-agent-linux_x64-phpagent-4.4.1.343.tar.bz2"
    08restart:
        command: "service httpd restart"
&lt;/PRE&gt;</description>
    <pubDate>Wed, 23 Jan 2019 17:31:48 GMT</pubDate>
    <dc:creator>Benjamin_Walker</dc:creator>
    <dc:date>2019-01-23T17:31:48Z</dc:date>
    <item>
      <title>Install php agent on Elastic Beanstalk</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Install-php-agent-on-Elastic-Beanstalk/m-p/726598#M5363</link>
      <description>&lt;P&gt;How can I install the PHP agent on AWS elastic Beanstalk?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 12:02:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Install-php-agent-on-Elastic-Beanstalk/m-p/726598#M5363</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-01-07T12:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Install php agent on Elastic Beanstalk</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Install-php-agent-on-Elastic-Beanstalk/m-p/726599#M5364</link>
      <description>&lt;P&gt;Hi Gamer,&lt;/P&gt;

&lt;P&gt;I would like to understand the requirement better. Are you trying to&amp;nbsp;instrument PHP application deployed on&amp;nbsp; AWS beanstalk?&lt;/P&gt;
&lt;P&gt;If that is the case, you may refer the following for the steps&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.appdynamics.com/display/PRO45/Install+the+PHP+Agent" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.appdynamics.com/display/PRO45/Install+the+PHP+Agent&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let me know whether we are on the same page here.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sajna Sreenivasan&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 18:14:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Install-php-agent-on-Elastic-Beanstalk/m-p/726599#M5364</guid>
      <dc:creator>Sajna_Sreenivas</dc:creator>
      <dc:date>2019-01-10T18:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Install php agent on Elastic Beanstalk</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Install-php-agent-on-Elastic-Beanstalk/m-p/726600#M5365</link>
      <description>&lt;P&gt;Dear sajna,&lt;/P&gt;

&lt;P&gt;Thanks for prompt answer.&lt;/P&gt;
&lt;P&gt;Actually,&amp;nbsp;In order to Install the app dynamics&amp;nbsp;&lt;SPAN&gt;PHP application agent on&amp;nbsp; AWS beanstalk, I guess I should add appropriate commands on a config file inside my projects .ebextensions folder.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;I would appretiate if you could provide the list of commands which I need to put there.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Gamer.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 14:58:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Install-php-agent-on-Elastic-Beanstalk/m-p/726600#M5365</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2019-01-11T14:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Install php agent on Elastic Beanstalk</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Install-php-agent-on-Elastic-Beanstalk/m-p/726601#M5366</link>
      <description>&lt;P&gt;Hi Gamer - The easiest way to get the agent up-and-running is to use &lt;A href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/ebextensions.html" target="_self" rel="nofollow noopener noreferrer"&gt;.ebextensions&lt;/A&gt; to configure your environment to install the agent for you on startup. I've attached a sample appdynamics.config for you below to look at. It will probably work for you as is, but you will need to update line 24 (&lt;CODE class="text plain"&gt;06install&lt;/CODE&gt;), replacing the following elements with the details for your controller/app and save:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;ACCOUNT_NAME&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;ACCESS_KEY&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;CONTROLLER_URL&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;CONTROLLER_PORT&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;APPLICATION_NAME&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&amp;lt;APPLICATION_TIER&amp;gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;-Benjamin&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;AppDynamics.config:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;files:
    "/tmp/appdynamics-php-agent-linux_x64-phpagent-4.4.1.343.tar.bz2":
        mode: "000444"
        owner: ec2-user
        group: ec2-user
        source: https://packages.appdynamics.com/php/phpagent-4.4.1.343/appdynamics-php-agent-linux_x64-phpagent-4.4.1.343.tar.bz2

# commands are executed in alphabetical order
commands:
    01reset:
        command: "rm -rf /opt/AppDynamics/phpagent"
        ignoreErrors: true
    02makedir:
        command: "mkdir -p /opt/AppDynamics/phpagent"
    03unzip:
        command: "tar -xvjf /tmp/appdynamics-php-agent-linux_x64-phpagent-4.4.1.343.tar.bz2"
        cwd: /opt/AppDynamics/phpagent
    04owner:
        command: "chown -R webapp:webapp phpagent"
        cwd: /opt/AppDynamics
    05logperms:
        command: "chmod 777 /opt/AppDynamics/phpagent/appdynamics-php-agent-linux_x64/logs"
    06install:
        command: "./install.sh -s -a=&amp;lt;ACCOUNT_NAME&amp;gt;@&amp;lt;ACCESS_KEY&amp;gt; &amp;lt;CONTROLLER_URL&amp;gt; &amp;lt;CONTROLLER_PORT&amp;gt; &amp;lt;APPLICATION_NAME&amp;gt; &amp;lt;APPLICATION_TIER&amp;gt; $HOSTNAME"
        cwd: /opt/AppDynamics/phpagent/appdynamics-php-agent-linux_x64
    07cleanup:
        command: "rm /tmp/appdynamics-php-agent-linux_x64-phpagent-4.4.1.343.tar.bz2"
    08restart:
        command: "service httpd restart"
&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Jan 2019 17:31:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Install-php-agent-on-Elastic-Beanstalk/m-p/726601#M5366</guid>
      <dc:creator>Benjamin_Walker</dc:creator>
      <dc:date>2019-01-23T17:31:48Z</dc:date>
    </item>
  </channel>
</rss>

