<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Profiling PHP with Xdebug and Webgrind</title>
	<atom:link href="http://www.chrisabernethy.com/php-profiling-xdebug-webgrind/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fphp-profiling-xdebug-webgrind%2F%23comment-&#038;seed_title=Profiling+PHP+with+Xdebug+and+Webgrind</link>
	<description></description>
	<lastBuildDate>Wed, 25 Jan 2012 23:42:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: ft</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fphp-profiling-xdebug-webgrind%2F%23comment-23359&#038;seed_title=Profiling+PHP+with+Xdebug+and+Webgrind#comment-23359</link>
		<dc:creator>ft</dc:creator>
		<pubDate>Sun, 24 Jul 2011 14:37:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=178#comment-23359</guid>
		<description>Hi Ali,

Which Os are you using? Linux, Windows or Apple......?</description>
		<content:encoded><![CDATA[<p>Hi Ali,</p>
<p>Which Os are you using? Linux, Windows or Apple&#8230;&#8230;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ali</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fphp-profiling-xdebug-webgrind%2F%23comment-23228&#038;seed_title=Profiling+PHP+with+Xdebug+and+Webgrind#comment-23228</link>
		<dc:creator>ali</dc:creator>
		<pubDate>Thu, 21 Jul 2011 07:13:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=178#comment-23228</guid>
		<description>Hi Dear,
               I am completely new to webgrind and Xdebug so want some help from you guys.
               First clear me the os in which i should install the webgrind and then
               the file and location in which we have to make the modifications.
               Note:I am currently using wamp server.</description>
		<content:encoded><![CDATA[<p>Hi Dear,<br />
               I am completely new to webgrind and Xdebug so want some help from you guys.<br />
               First clear me the os in which i should install the webgrind and then<br />
               the file and location in which we have to make the modifications.<br />
               Note:I am currently using wamp server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GoTop&#8217;s Blog &#187; 使用Webgrind查看Xdebug</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fphp-profiling-xdebug-webgrind%2F%23comment-16563&#038;seed_title=Profiling+PHP+with+Xdebug+and+Webgrind#comment-16563</link>
		<dc:creator>GoTop&#8217;s Blog &#187; 使用Webgrind查看Xdebug</dc:creator>
		<pubDate>Thu, 21 Oct 2010 22:18:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=178#comment-16563</guid>
		<description>[...] 后来阅读了Profiling PHP with Xdebug and Webgrind 这篇文章,解释了xdebug.profiler_enable_trigger的作用:If you enable this option, profiles will only be generated if you pass a GET/POST parameter or cookie with the name XDEBUG_PROFILE, e.g., http://localhost/script.php?XDEBUG_PROFILE. You must not enable xdebug.profiler_enable if you use this option. [...]</description>
		<content:encoded><![CDATA[<p>[...] 后来阅读了Profiling PHP with Xdebug and Webgrind 这篇文章,解释了xdebug.profiler_enable_trigger的作用:If you enable this option, profiles will only be generated if you pass a GET/POST parameter or cookie with the name XDEBUG_PROFILE, e.g., <a href="http://localhost/script.php?XDEBUG_PROFILE" rel="nofollow">http://localhost/script.php?XDEBUG_PROFILE</a>. You must not enable xdebug.profiler_enable if you use this option. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah Walsh</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fphp-profiling-xdebug-webgrind%2F%23comment-15598&#038;seed_title=Profiling+PHP+with+Xdebug+and+Webgrind#comment-15598</link>
		<dc:creator>Sarah Walsh</dc:creator>
		<pubDate>Tue, 10 Aug 2010 10:54:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=178#comment-15598</guid>
		<description>Thanks for all the help above. 

I&#039;ve been hair pulling for the last 2 days to get Webgrind running, receiving a file read error on xdebug.profiler_output_dir.  

The solution (for me at least): changing xdebug.remote_host from &#039;localhost&#039; to 127.0.0.1.  It&#039;s probably written somewhere but I suffer from the disease of !RTFM</description>
		<content:encoded><![CDATA[<p>Thanks for all the help above. </p>
<p>I&#8217;ve been hair pulling for the last 2 days to get Webgrind running, receiving a file read error on xdebug.profiler_output_dir.  </p>
<p>The solution (for me at least): changing xdebug.remote_host from &#8216;localhost&#8217; to 127.0.0.1.  It&#8217;s probably written somewhere but I suffer from the disease of !RTFM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alexandrov</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fphp-profiling-xdebug-webgrind%2F%23comment-15457&#038;seed_title=Profiling+PHP+with+Xdebug+and+Webgrind#comment-15457</link>
		<dc:creator>alexandrov</dc:creator>
		<pubDate>Thu, 29 Jul 2010 20:34:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=178#comment-15457</guid>
		<description>
Also please do not forget Webgrind may have no permissions to read profiler output files. For example if these files are located not in Webgrind server root.


So, the default php open_basedir restriction may be in effect.


If so, add to configuration of VirtualHost

&lt;code&gt;
php_admin_value open_basedir none
&lt;/code&gt;
Or in similar way set profiler output files accessible from webgrind installation.</description>
		<content:encoded><![CDATA[<p>Also please do not forget Webgrind may have no permissions to read profiler output files. For example if these files are located not in Webgrind server root.</p>
<p>So, the default php open_basedir restriction may be in effect.</p>
<p>If so, add to configuration of VirtualHost</p>
<p><code><br />
php_admin_value open_basedir none<br />
</code><br />
Or in similar way set profiler output files accessible from webgrind installation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart McLeod</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fphp-profiling-xdebug-webgrind%2F%23comment-15096&#038;seed_title=Profiling+PHP+with+Xdebug+and+Webgrind#comment-15096</link>
		<dc:creator>Bart McLeod</dc:creator>
		<pubDate>Wed, 16 Jun 2010 07:34:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=178#comment-15096</guid>
		<description>This is slightly off topic, but maybe you can help. I have installed XDebug for php5.3.2VC9TS on a windows 7 box and I use a virtual Ubuntu 9.04 with kcachegrind installed to produce the visuals.

But when I enable the profiler I get not output in the browser. I do get output files that I can produce visuals of. But the browser says the connection was reinitialized during the request and refuses output.

Any idea&#039;s?

This is in my php.ini:

[XDebug]
zend_extension=d:\php532\ext\php_xdebug-2.0.5-5.3-vc9.dll ; if xdebug enabled, webserver doesn&#039;t output
xdebug.profiler_enable=1
xdebug.profiler_output_dir=d:\tmp
xdebug.profiler_output_name = cachegrind.out.%t.%p</description>
		<content:encoded><![CDATA[<p>This is slightly off topic, but maybe you can help. I have installed XDebug for php5.3.2VC9TS on a windows 7 box and I use a virtual Ubuntu 9.04 with kcachegrind installed to produce the visuals.</p>
<p>But when I enable the profiler I get not output in the browser. I do get output files that I can produce visuals of. But the browser says the connection was reinitialized during the request and refuses output.</p>
<p>Any idea&#8217;s?</p>
<p>This is in my php.ini:</p>
<p>[XDebug]<br />
zend_extension=d:\php532\ext\php_xdebug-2.0.5-5.3-vc9.dll ; if xdebug enabled, webserver doesn&#8217;t output<br />
xdebug.profiler_enable=1<br />
xdebug.profiler_output_dir=d:\tmp<br />
xdebug.profiler_output_name = cachegrind.out.%t.%p</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Crawford</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fphp-profiling-xdebug-webgrind%2F%23comment-13928&#038;seed_title=Profiling+PHP+with+Xdebug+and+Webgrind#comment-13928</link>
		<dc:creator>Joseph Crawford</dc:creator>
		<pubDate>Tue, 09 Mar 2010 14:26:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=178#comment-13928</guid>
		<description>Hello,

I am running Ubuntu 9.10 and have installed everything as stated above.  Everything seems to be working to the point that the grind files are generated.  However when I go into webgrinds web interface and click update it just shows a message telling me to select a grind file.  No matter which file I choose I get the same message.  I have verified that the grind files actually contain data.  I am not sure if there is a permissions problem reading them or not.

jocrawfo@jcrawford:~/installed/webgrind/grinds$ namei -m ~/installed/webgrind/grinds/cachegrind.out.1268144184.18372 
f: /home/jocrawfo/installed/webgrind/grinds/cachegrind.out.1268144184.18372
 drwxr-xr-x /
 drwxr-xr-x home
 drwxrwxr-x jocrawfo
 drwxr-xr-x installed
 drwxr-xr-x webgrind
 drwxrwxrwx grinds


jocrawfo@jcrawford:~/installed/webgrind$ ls -la &#124; grep grinds
drwxrwxr-x 2 www-data www-data 4096 2010-03-09 09:26 grinds


Any assistance would be appreciated.

Thanks,
Joseph Crawford</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I am running Ubuntu 9.10 and have installed everything as stated above.  Everything seems to be working to the point that the grind files are generated.  However when I go into webgrinds web interface and click update it just shows a message telling me to select a grind file.  No matter which file I choose I get the same message.  I have verified that the grind files actually contain data.  I am not sure if there is a permissions problem reading them or not.</p>
<p>jocrawfo@jcrawford:~/installed/webgrind/grinds$ namei -m ~/installed/webgrind/grinds/cachegrind.out.1268144184.18372<br />
f: /home/jocrawfo/installed/webgrind/grinds/cachegrind.out.1268144184.18372<br />
 drwxr-xr-x /<br />
 drwxr-xr-x home<br />
 drwxrwxr-x jocrawfo<br />
 drwxr-xr-x installed<br />
 drwxr-xr-x webgrind<br />
 drwxrwxrwx grinds</p>
<p>jocrawfo@jcrawford:~/installed/webgrind$ ls -la | grep grinds<br />
drwxrwxr-x 2 www-data www-data 4096 2010-03-09 09:26 grinds</p>
<p>Any assistance would be appreciated.</p>
<p>Thanks,<br />
Joseph Crawford</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Housing</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fphp-profiling-xdebug-webgrind%2F%23comment-12248&#038;seed_title=Profiling+PHP+with+Xdebug+and+Webgrind#comment-12248</link>
		<dc:creator>Housing</dc:creator>
		<pubDate>Thu, 26 Nov 2009 00:10:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=178#comment-12248</guid>
		<description>можно в Гугле еще поискать..</description>
		<content:encoded><![CDATA[<p>можно в Гугле еще поискать..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Installing Webgrind, the Xdebug Profiler &#171; Madhusanka&#8217;s Tech Blog</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fphp-profiling-xdebug-webgrind%2F%23comment-11770&#038;seed_title=Profiling+PHP+with+Xdebug+and+Webgrind#comment-11770</link>
		<dc:creator>Installing Webgrind, the Xdebug Profiler &#171; Madhusanka&#8217;s Tech Blog</dc:creator>
		<pubDate>Mon, 26 Oct 2009 09:33:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=178#comment-11770</guid>
		<description>[...] (Yeah, the installation is no that easy). I had Xdebug already installed, and after going through this, I managed get it running, after following these [...]</description>
		<content:encoded><![CDATA[<p>[...] (Yeah, the installation is no that easy). I had Xdebug already installed, and after going through this, I managed get it running, after following these [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Rexin</title>
		<link>http://www.chrisabernethy.com/feeder/?FeederAction=clicked&#038;feed=Comments+on+Articles+%28RSS2%29&#038;seed=http%3A%2F%2Fwww.chrisabernethy.com%2Fphp-profiling-xdebug-webgrind%2F%23comment-10676&#038;seed_title=Profiling+PHP+with+Xdebug+and+Webgrind#comment-10676</link>
		<dc:creator>Ben Rexin</dc:creator>
		<pubDate>Mon, 15 Jun 2009 20:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisabernethy.com/?p=178#comment-10676</guid>
		<description>Nice to know, for different cachegrind files per host you can use %H in the profiler_output_name, according to http://www.xdebug.org/docs/all_settings#trace_output_name</description>
		<content:encoded><![CDATA[<p>Nice to know, for different cachegrind files per host you can use %H in the profiler_output_name, according to <a href="http://www.xdebug.org/docs/all_settings#trace_output_name" rel="nofollow">http://www.xdebug.org/docs/all_settings#trace_output_name</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

