Archive for the 'Xdebug' tag

PHP Troubleshooting in Windows Azure Web Sites

The need to diagnose and troubleshoot application’s failures often comes up during deployment to a hosting environment. Some configuration settings in hosting server may differ from what application expects. Often it is not as easy to figure out the cause of the problem in a hosting environment as it is on a development machine.  I found the following techniques useful when troubleshooting errors in PHP applications hosted in Windows Azure Web Sites.

1. phpinfo()

This is the most obvious, but very often the most helpful diagnostics tool. The output of this function provides a lot of information about the PHP runtime. Use it to determine what PHP extensions are enabled, what are the PHP configuration settings and what values are stored in server environment variables. Continue Reading »

No Comments »

ruslany on January 30th 2013 in PHP, WAWS

52,778 views

PoorFairAverageGoodExcellent (4 votes, average: 5.00 out of 5)

How to enable Xdebug in WebMatrix

Xdebug is a very popular PHP extension that helps with debugging and profiling of PHP scripts by providing a lot of valuable debug information. Microsoft WebMatrix is a development tool for building web applications. When WebMatrix is used to build or modify a PHP-based web application the debugging tasks can be greatly simplified if Xdebug extension is used. This post explains how to install and use Xdebug extension with WebMatrix. Continue Reading »

6 Comments »

ruslany on February 18th 2011 in PHP

31,726 views

PoorFairAverageGoodExcellent (8 votes, average: 4.00 out of 5)

Recently Published Articles