News Feed
Sections




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

Derick Rethans' Blog:
What is PHP doing?
July 13, 2012 @ 08:30:02

Derick Rethans has a new post to his blog showing how you can, using a few simple unix tools, figure out what PHP is doing when your scripts are executing.

Sometimes when you have a long running PHP script, you might wonder what the hell it is doing at the moment. There are a few tools that can help you to find out, without having to stop the script. Some of these work only on Linux.

He shows you how to use the following commands to track down exactly what your process is working on: strace, ltrace and gdb (a handy debugger that will probably give you more information than you're looking for). He includes some sample output for the commands and gives an example of a PHP script-to-gdb output relationship.

0 comments voice your opinion now!
process debug strace ltrace gdb output tutorial


blog comments powered by Disqus

Similar Posts

Rob Allen's Blog: ID!=id (Zend Framework Tutorial Updates)

SitePoint PHP Blog: Where are you? Implementing geolocation with Geocoder PHP

DevShed: Using the spl_autoload() Functions to Build Loader Apps in PHP

Chris Jones: Using the PHP CLI Webserver to Identify and Test Memory Issues in PHP

NetTuts.com: Whoops! PHP Errors for Cool Kids


Community Events

Don't see your event here?
Let us know!


laravel development library conference unittest series api introduction extension laravel5 community podcast psr7 release voicesoftheelephpant language video interview framework opinion

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework