Debugging Server-Side PHP-code :
Tool - 1 : firephp
link : http://www.firephp.org/
step 1) install firefox add-on
step 2) download the library : http://www.firephp.org/HQ/Install.htm?Trigger=Install
step 3) Lookout for Documentation over here : http://www.firephp.org/HQ/Use.html
step 4) have created a sample code, have a look at it, lookout for attachment(firephp.php)
advantage :
1.) output will be displayed in console, just like firebug
useful links :
http://sixrevisions.com/web-development/how-to-debug-php-using-firefox-with-firephp/
http://blogs.sitepoint.com/debug-php-firebug-firephp/
http://www.developertutorials.com/tutorials/php/debugging-php-with-firebug-and-firephp-365/
Tool - 2 : x-debug
link : http://www.xdebug.org/
Installation :
step 1.) if you have wamp installed, uncomment "zend_extension = "C:\xampp\php\ext\php_xdebug.dll"" in php.ini
step 2.) Restart server and you are done,
( above would be for localhost, for remote host, check out : http://mitulmpatel.wordpress.com/2009/11/02/how-to-install-xdebug-on-wamp/ )
useful links :
http://mitulmpatel.wordpress.com/2009/11/02/how-to-install-xdebug-on-wamp/
http://wiki.netbeans.org/HowToConfigureXDebug
And if possible, please do suggest me some tools,
No comments:
Post a Comment