DTrace with Entropy PHP on OSX Leopard

Similar to Xdebug, DTrace also didn’t want to work and failed with the same error, so I tried the same trick, and it worked.

Follow the instructions from Lee Packham’s blog but configure it as a 64-bit application:

  1. tar xzf dtrace-1.0.3fixtar.gz
  2. cd dtrace-1.0.3+fix
  3. phpize
  4. CFLAGS=’-arch x86_64′ ./configure –with-dtrace
  5. make
  6. make install

So far so good, the module is loaded. Now let’s see if Instruments will do its thing.

Related posts:

  1. Xdebug on OSX Leopard with Entropy PHP5
  2. Leopard (Gecko)
  3. gateway.2wire.net

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>