<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум PHP-MyAdmin.RU &mdash; Как установить xDebug с ZendServer?]]></title>
	<link rel="self" href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=3837&amp;type=atom" />
	<updated>2014-07-23T18:52:58Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.php-myadmin.ru/viewtopic.php?id=3837</id>
		<entry>
			<title type="html"><![CDATA[Re: Как установить xDebug с ZendServer?]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=25522#p25522" />
			<content type="html"><![CDATA[<p>С настройкой помочь не могу. Посмотрите ошибки в журналах сервера.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2014-07-23T18:52:58Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=25522#p25522</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Как установить xDebug с ZendServer?]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=25519#p25519" />
			<content type="html"><![CDATA[<p>Выбрал в качестве среды разработки проектов на PHP среду Netbeans. Для того, чтобы в Netbeans можно было <br />полноценно отлаживать PHP-скрипты, нужно установить xDebug. Зашел на сайт <a href="http://www.xdebug.org/wizard.php">http://www.xdebug.org/wizard.php</a>, <br />в окно формы скопипастил информацию со php-странички с phpinfo(), получил следующие инструкции и предпреждение:</p><div class="quotebox"><blockquote><p>Instructions<br />Warning: You seem to be using Zend Server, which is known to cause issues with Xdebug. It might work, but you&#039;re on your own.<br />&nbsp; &nbsp; Download<br />&nbsp; &nbsp; Move the downloaded file to &quot;C:\Program Files (x86)\Zend\ZendServer\lib\phpext&quot;<br />&nbsp; &nbsp; Open C:\Program Files (x86)\Zend\ZendServer\etc\cfg\debugger.ini and put a ; in front of the line that says zend_extension_manager.dir.debugger= so that it says ;zend_extension_manager.dir.debugger=<br />&nbsp; &nbsp; Edit C:\Program Files (x86)\Zend\ZendServer\etc\php.ini and add at the begining of the file the line<br />&nbsp; &nbsp; zend_extension = &quot;C:\Program Files (x86)\Zend\ZendServer\lib\phpext\&quot;<br />&nbsp; &nbsp; Restart the webserver</p></blockquote></div><p>Скачал и установил dll номер верcии PHP 5.4 VC9 (32 bit) (php_xdebug-2.2.5-5.4-vc9-nts.dll), сделал все, как указано <br />в инструкции. В php.ini у меня есть такие строки:</p><div class="codebox"><pre><code>zend_extension=&quot;C:\Program Files (x86)\Zend\ZendServer\lib\phpext\&quot;
zend_extension=&quot;C:\Program Files (x86)\Zend\ZendServer\lib\phpext\php_opcache.dll&quot;
zend_extension=&quot;C:\Program Files (x86)\Zend\ZendServer\lib\ZendExtensionManager.dll&quot;
xdebug.remote_enable = on
xdebug.remote_handler = dbgp
xdebug.remote_host = localhost
xdebug.remote_port = 9000
[xdebug]
zend_extension=&quot;C:\Program Files (x86)\Zend\ZendServer\lib\phpext\php_xdebug-2.2.5-5.5-vc11-nts.dll&quot;
xdebug.profiler_enable = 0
xdebug.profiler_output_dir = &quot;D:\my&quot;
xdebug.profiler_enable_trigger = 1</code></pre></div><p>В результате на странице с phpinfo() отсутствует какая-либо информация с xDebug, в Netbeans не работают breakpoint&#039;ы.<br />Что не так? Может, вместо ZendServer взять другой сервер? ZendServer я брал с <a href="http://www.zend.com/en/downloads">http://www.zend.com/en/downloads</a>.</p>]]></content>
			<author>
				<name><![CDATA[Rasool]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=6117</uri>
			</author>
			<updated>2014-07-21T17:38:33Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=25519#p25519</id>
		</entry>
</feed>
