Recent Posts


PHP and strace


Frustrated by Magento? Then you’ll love Commerce Bug, the must have debugging extension for anyone using Magento. Whether you’re just starting out or you’re a seasoned pro, Commerce Bug will save you and your team hours everyday. Grab a copy and start working with Magento instead of against it.

Updated for Magento 2! No Frills Magento Layout is the only Magento front end book you'll ever need. Get your copy today!

Another set of slides from a Benoit Jacquemont talk I would have loved to see. My high level summary

Don’t forget that your PHP program isn’t talking with anything directly, all activity goes through the your operating system’s kernel, and there are tools (strace on linux) for looking at the system calls your program is indirectly making

Tangentially, I also recently came acros php-strace, a composer package that wraps up the logic of using strace to diagnose PHP segmentation faults.

Copyright © Alan Storm 1975 – 2023 All Rights Reserved

Originally Posted: 5th June 2018