<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Développement Web Libre &#187; debug</title>
	<atom:link href="http://www.sbnet.fr/tag/debug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sbnet.fr</link>
	<description>xhtml, css, javascript, php et ruby</description>
	<lastBuildDate>Wed, 21 Jul 2010 11:57:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>fr</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installer XDebug avec PHP 5.3</title>
		<link>http://www.sbnet.fr/2008/10/07/installer-xdebug-avec-php-53/</link>
		<comments>http://www.sbnet.fr/2008/10/07/installer-xdebug-avec-php-53/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 08:30:41 +0000</pubDate>
		<dc:creator>Stéphane</dc:creator>
				<category><![CDATA[Informatique]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.sbnet.fr/2008/10/07/installer-xdebug-avec-php-53/</guid>
		<description><![CDATA[PHP 5.3 à plein de nouvelles fonctionnalités à explorer, autant en profiter pour entrer dans le détail mettre en place un environnement de développement complet comprenant un profiler et un debugger.
Je pense que vous avez déjà installé PHP 5.3, sinon, cet article est pour vous.
Commencez par télécharger les sources de Xdebug sur le site officiel [...]]]></description>
			<content:encoded><![CDATA[<p>PHP 5.3 à plein de nouvelles fonctionnalités à explorer, autant en profiter pour entrer dans le détail mettre en place un environnement de développement complet comprenant un profiler et un debugger.</p>
<p><span id="more-121"></span>Je pense que vous avez déjà installé PHP 5.3, sinon, <a href="http://www.sbnet.fr/2008/04/07/php5-et-php6-sur-le-meme-serveur/" title="installer php5 et php6 sur le même serveur">cet article</a> est pour vous.</p>
<p>Commencez par télécharger <a href="http://www.xdebug.org/link.php?url=xdebug203" title="sources de xdebug">les sources de Xdebug</a> sur le site officiel et décompactez les dans un répertoire, peut-importe où.</p>
<div style="overflow: auto;"><pre class="bash" id="geshi" style="color: #fff; border-left: 5px solid #900; background-color:#000;">wget http://www.xdebug.org/link.php?<span class="re2">url=</span>xdebug203
tar -xvf xdebug<span class="nu0">-2.0</span><span class="nu0">.3</span>.tgz
<span class="kw3">cd</span> xdebug<span class="nu0">-2.0</span><span class="nu0">.3</span></pre></div>
<p>Un fois fait, il faut lancer phpize, attention, il faut lancer le bon phpize, celui de PHP 5.3, chez moi il est dans /usr/local/php5.3/bin</p>
<div style="overflow: auto;"><pre class="bash" id="geshi" style="color: #fff; border-left: 5px solid #900; background-color:#000;">/usr/<span class="kw3">local</span>/php5<span class="nu0">.3</span>/bin/phpize</pre></div>
<p>Il ne reste plus qu&#8217;a compiler en indiquant bien quel php utiliser, comme avec phpize</p>
<div style="overflow: auto;"><pre class="bash" id="geshi" style="color: #fff; border-left: 5px solid #900; background-color:#000;">./configure --enable-xdebug --with-php-<span class="re2">config=</span>/usr/<span class="kw3">local</span>/php53/bin/php-config
make
cp modules/xdebug.so /usr/<span class="kw3">local</span>/php53/xdebug.so</pre></div>
<p>On ajoute le module au fichier php.ini (chez moi il est dans /usr/local/php53/lib/php.ini) et c&#8217;est fini :</p>
<div style="overflow: auto;"><pre class="ini" id="geshi" style="color: #fff; border-left: 5px solid #900; background-color:#000;">zend_extension=<span class="st0">&quot;/usr/local/php53/xdebug.so&quot;</span></pre></div>
<p>La suite, notamment la configuration et l&#8217;utilisation du profiler et le <a href="http://www.jeanphi.fr/?post/2008/09/30/Debug-php-pas-a-pas-avec-XDebug-et-Vim" title="debug php pas à pas">debug php pas à pas</a>, est disponible sur le blog de <a href="http://www.jeanphi.fr">Jean-Phi</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sbnet.fr/2008/10/07/installer-xdebug-avec-php-53/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
