I checked in the dtrace extension for PHP along with a README.solaris and make script (make_solaris.sh). See http://blogs.sun.com/shanti/entry/debugging_amp for example dtrace scripts and how you can use this extensions to trace thru your AMP application.
Shanti