# Mac installation of apm-agent-php

**URL:** <https://discuss.elastic.co/t/mac-installation-of-apm-agent-php/302987>\
**Category:** APM\
**Tags:** docker, php\
**Created:** [April 22, 2022, 6:55am UTC](https://discuss.elastic.co/t/mac-installation-of-apm-agent-php/302987 "2022-04-22T06:55:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![webpatser](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/webpatser/32/7831_2.png) [@webpatser](https://discuss.elastic.co/u/webpatser)\
**Post date:** [April 22, 2022, 6:55am UTC](https://discuss.elastic.co/t/mac-installation-of-apm-agent-php/302987/1 "2022-04-22T06:55:15Z")

</div>

Hi,

We use the default APM packages on ubuntu and the basic traces you get using laravel are awesome to start with.

But to implement trace parents etc I want to compile the PHP APM agent on my dev Macbook. The basic compile doesn't work. All info I found on GitHub is not working on the latest version anymore. Is there a way to install it on a Mac, with a PHP installed via brew. Or do I need to resort back to a docker image ☹

It would be awesome if it could compile on Mac, or if there was an APM install via the Elasticsearch brew taps available.

kind regards,

Christoph

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 13, 2022, 2:55am UTC](https://discuss.elastic.co/t/mac-installation-of-apm-agent-php/302987/2 "2022-05-13T02:55:16Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
