<?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: Some notes on Zend Server CE for Mac OS X</title>
	<atom:link href="http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/</link>
	<description>Developing PHP software in the Real World, by Rob Allen</description>
	<lastBuildDate>Wed, 08 Feb 2012 14:36:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Frank</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-65637</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Tue, 14 Jun 2011 04:47:46 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-65637</guid>
		<description>Mae the changes to use Port 80. Launching the Zend Server CE opens &quot;http://localhost:10081/ZendServer/#1308026840667&quot; in my browser, and indicates the following error message: 

&quot;The following error was retrieved from the Web server: Failed to parse response&quot;

Any clues?</description>
		<content:encoded><![CDATA[<p>Mae the changes to use Port 80. Launching the Zend Server CE opens "http://localhost:10081/ZendServer/#1308026840667" in my browser, and indicates the following error message: </p>
<p>"The following error was retrieved from the Web server: Failed to parse response"</p>
<p>Any clues?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Janis Rough</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-58242</link>
		<dc:creator>Janis Rough</dc:creator>
		<pubDate>Thu, 07 Apr 2011 21:01:49 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-58242</guid>
		<description>This last note about the 32bit architecture and the cryptic instructions to compile it were awesome.  I couldn&#039;t figure out for the life of me why Xdebug  didn&#039;t load in Zend Server.  I did all the above Rob Allen instructions exactly right. I even had the PECL installing right and everything went smoothly but I got the red error message in Zend Server Extensions.  I just happened to glance at this and see the 32/64 bit thing and sure nuff upon using the file -L command to see the version I had it was 64bit and Xdebug downloads doesn&#039;t give you any other options.

Thanks,</description>
		<content:encoded><![CDATA[<p>This last note about the 32bit architecture and the cryptic instructions to compile it were awesome.  I couldn't figure out for the life of me why Xdebug  didn't load in Zend Server.  I did all the above Rob Allen instructions exactly right. I even had the PECL installing right and everything went smoothly but I got the red error message in Zend Server Extensions.  I just happened to glance at this and see the 32/64 bit thing and sure nuff upon using the file -L command to see the version I had it was 64bit and Xdebug downloads doesn't give you any other options.</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david a</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-56972</link>
		<dc:creator>david a</dc:creator>
		<pubDate>Fri, 25 Mar 2011 13:04:17 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-56972</guid>
		<description>Great instructions thanks.

However, I found that the install of ZendServer CE php 5.2 on MAC 10.6 was actually a 32bit install. The pear/pecl approach was compiling a 64bit xdebug.so, so was not compatible.
When attempting to load xdebug.so, I got the error :
PHP Warning:  PHP Startup: Unable to load dynamic library &#039;/usr/local/zend/lib/php_extensions/xdebug.so&#039; - (null) in Unknown on line 0

This can be checked with these commands
$ file -L /usr/local/zend/lib/php_extensions/xdebug.so
/usr/local/zend/lib/php_extensions/xdebug.so: Mach-O bundle i386
$ file -L /usr/local/zend/lib/php_extensions/curl.so 
/usr/local/zend/lib/php_extensions/curl.so: Mach-O bundle i386

Note: both are i386=32bit.

My solution was :
1) to install xdebug from source. 
2) run phpize. 
3) Run :
sudo MACOSX_DEPLOYMENT_TARGET=10.6 CFLAGS=&quot;-arch i386 -g -Os -pipe -no-cpp-precomp&quot; CCFLAGS=&quot;-arch i386 -g -Os -pipe&quot; CXXFLAGS=&quot;-arch i386 -g -Os -pipe&quot; LDFLAGS=&quot;-arch i386 -bind_at_load&quot; ./configure
4) sudo make &amp;&amp; sudo make install

Then all seemed ok and works great with NetBeans :)  I appreciate Zend as a company but ZendStudio (eclipse) version is just to slow and has annoying features. So glad I moved to NetBeans.</description>
		<content:encoded><![CDATA[<p>Great instructions thanks.</p>
<p>However, I found that the install of ZendServer CE php 5.2 on MAC 10.6 was actually a 32bit install. The pear/pecl approach was compiling a 64bit xdebug.so, so was not compatible.<br />
When attempting to load xdebug.so, I got the error :<br />
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php_extensions/xdebug.so' - (null) in Unknown on line 0</p>
<p>This can be checked with these commands<br />
$ file -L /usr/local/zend/lib/php_extensions/xdebug.so<br />
/usr/local/zend/lib/php_extensions/xdebug.so: Mach-O bundle i386<br />
$ file -L /usr/local/zend/lib/php_extensions/curl.so<br />
/usr/local/zend/lib/php_extensions/curl.so: Mach-O bundle i386</p>
<p>Note: both are i386=32bit.</p>
<p>My solution was :<br />
1) to install xdebug from source.<br />
2) run phpize.<br />
3) Run :<br />
sudo MACOSX_DEPLOYMENT_TARGET=10.6 CFLAGS="-arch i386 -g -Os -pipe -no-cpp-precomp" CCFLAGS="-arch i386 -g -Os -pipe" CXXFLAGS="-arch i386 -g -Os -pipe" LDFLAGS="-arch i386 -bind_at_load" ./configure<br />
4) sudo make &amp;&amp; sudo make install</p>
<p>Then all seemed ok and works great with NetBeans :)  I appreciate Zend as a company but ZendStudio (eclipse) version is just to slow and has annoying features. So glad I moved to NetBeans.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-52352</link>
		<dc:creator>Bryan</dc:creator>
		<pubDate>Wed, 09 Feb 2011 19:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-52352</guid>
		<description>Awesome write up. I accidently put the xdebug configuration AFTER the zend configuration and it did not work.  Make sure you put it before [zend]</description>
		<content:encoded><![CDATA[<p>Awesome write up. I accidently put the xdebug configuration AFTER the zend configuration and it did not work.  Make sure you put it before [zend]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Cobby</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-44588</link>
		<dc:creator>Andrew Cobby</dc:creator>
		<pubDate>Tue, 07 Dec 2010 02:49:53 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-44588</guid>
		<description>@Marc Tanis

You have to go into the Zend Server CE admin panel (by default, http://localhost:10081) and enable xdebug in Server Setup -&gt; Extensions</description>
		<content:encoded><![CDATA[<p>@Marc Tanis</p>
<p>You have to go into the Zend Server CE admin panel (by default, <a href="http://localhost:10081" rel="nofollow">http://localhost:10081</a>) and enable xdebug in Server Setup -&gt; Extensions</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Tanis</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-44564</link>
		<dc:creator>Marc Tanis</dc:creator>
		<pubDate>Mon, 06 Dec 2010 18:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-44564</guid>
		<description>So I have installed xdebug, edited my php.ini, disabled optimizer and debugger and restarted zend community server on my mac but I cannot get anything to show up in the phpinfo page in regards to xdebug being installed.

Any suggestions</description>
		<content:encoded><![CDATA[<p>So I have installed xdebug, edited my php.ini, disabled optimizer and debugger and restarted zend community server on my mac but I cannot get anything to show up in the phpinfo page in regards to xdebug being installed.</p>
<p>Any suggestions</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-43370</link>
		<dc:creator>Dennis</dc:creator>
		<pubDate>Mon, 15 Nov 2010 22:48:57 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-43370</guid>
		<description>hello,

i installed ZendStudio 7.2 and ZendServer on MacOS 10.6.5
PHP Version  	5.3.3
Zend Framework Version 	1.10.8 

Server is running an found in ZendStudio, but I always get the message

http://localhost/ExampleProject/DebugDemo.php
Page load failed with error: Connection to server could not be established.

Has anybody an idea what I could try to make it work.

best regards,
dennis</description>
		<content:encoded><![CDATA[<p>hello,</p>
<p>i installed ZendStudio 7.2 and ZendServer on MacOS 10.6.5<br />
PHP Version  	5.3.3<br />
Zend Framework Version 	1.10.8 </p>
<p>Server is running an found in ZendStudio, but I always get the message</p>
<p><a href="http://localhost/ExampleProject/DebugDemo.php" rel="nofollow">http://localhost/ExampleProject/DebugDemo.php</a><br />
Page load failed with error: Connection to server could not be established.</p>
<p>Has anybody an idea what I could try to make it work.</p>
<p>best regards,<br />
dennis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob...</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-38539</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Thu, 26 Aug 2010 06:46:20 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-38539</guid>
		<description>dago,

Services that use ports greater than 1024 do not have to be started by root.

Regards,

Rob...</description>
		<content:encoded><![CDATA[<p>dago,</p>
<p>Services that use ports greater than 1024 do not have to be started by root.</p>
<p>Regards,</p>
<p>Rob...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dago</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-38531</link>
		<dc:creator>dago</dc:creator>
		<pubDate>Thu, 26 Aug 2010 02:34:33 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-38531</guid>
		<description>what&#039;s the difference of using 10088 and 80 ports?</description>
		<content:encoded><![CDATA[<p>what's the difference of using 10088 and 80 ports?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry Hicks</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-32689</link>
		<dc:creator>Henry Hicks</dc:creator>
		<pubDate>Tue, 06 Apr 2010 00:28:47 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-32689</guid>
		<description>Another issue I found was that the xdebug section had to be earlier in the in ini file instead of the end.  Otherwise, it was not recognized by php.

Here is are my options, note the location right after the opening [php]...
[PHP]

[xdebug]
zend_extension=/usr/local/zend/lib/php_extensions/xdebug.so
xdebug.remote_enable=on
xdebug.remote_host=&quot;localhost&quot;
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.show_local_vars=on
xdebug.var_display_max_data=10000
xdebug.var_display_max_depth=20</description>
		<content:encoded><![CDATA[<p>Another issue I found was that the xdebug section had to be earlier in the in ini file instead of the end.  Otherwise, it was not recognized by php.</p>
<p>Here is are my options, note the location right after the opening [php]...<br />
[PHP]</p>
<p>[xdebug]<br />
zend_extension=/usr/local/zend/lib/php_extensions/xdebug.so<br />
xdebug.remote_enable=on<br />
xdebug.remote_host="localhost"<br />
xdebug.remote_port=9000<br />
xdebug.remote_handler=dbgp<br />
xdebug.show_local_vars=on<br />
xdebug.var_display_max_data=10000<br />
xdebug.var_display_max_depth=20</p>
]]></content:encoded>
	</item>
</channel>
</rss>

