Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Chris Jones:
DTrace PHP Using Oracle Linux 'playground' Pre-Built Packages
Oct 03, 2013 @ 14:12:07

Related to some of his other posts about using DTrace with PHP, Chris Jones has a new post about using pre-built packages to make using it even easier.

We've released DTrace-enabled PHP 5.5.4 RPMs to make testing DTrace on Oracle Linux easier. As a result, the manual PHP install steps listed in Using PHP DTrace on Oracle Linux can be skipped. There are updated Betas of the "UEK3" Linux Kernel 3.8.13-16 and the dtrace-utils tools available too. With these, you now can DTrace PHP applications under Apache or with php-fpm, as well as command line PHP scripts.

He includes the full instructions on how to install the Oracle Linux distribution and grab the Oracle Instant Client libraries used for the "playground" packages. Next up is the PHP install - a quick call to yum - and a simple script showing how to set DTrace probe. Some sample output of the trace is shown and an slight modification to the probe showing how to find only calls from a certain source.

tagged: dtrace oracle linux package playground prebuilt tutorial install

Link: https://blogs.oracle.com/opal/entry/dtrace_php_using_oracle_linux


Trending Topics: