<?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>Thu, 29 Jul 2010 17:50:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<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>
	<item>
		<title>By: Chris</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-29922</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 05 Jan 2010 02:40:29 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-29922</guid>
		<description>Nice post, thanks!

I had a couple of issues, so just posting in case anyone had similar problems:

1. The default httpd.conf would sometimes override the zend httpd.conf, so I changed the default conf to listen to 8080.

2. Problems with installing PEAR, so re-installed in usr/local (see 
http://www.newmediacampaigns.com/page/install-pear-phpunit-xdebug-on-macosx-snow-leopard), and added &quot;/usr/local/PEAR&quot; to the zend server php.ini include_path.

3. xdebug.so was installed in &quot;/usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so&quot; by default, so just copied it over to the zend php extension dir &quot;/usr/local/zend/lib/php_extensions/xdebug.so&quot;. Then it showed up in Server Setup &gt; Extensions. The above &quot;newmediacampaigns&quot; link also has a link to a pre-compiled xdebug.so, so you can probably install it without the need to compile with xcode.

cheers</description>
		<content:encoded><![CDATA[<p>Nice post, thanks!</p>
<p>I had a couple of issues, so just posting in case anyone had similar problems:</p>
<p>1. The default httpd.conf would sometimes override the zend httpd.conf, so I changed the default conf to listen to 8080.</p>
<p>2. Problems with installing PEAR, so re-installed in usr/local (see<br />
<a href="http://www.newmediacampaigns.com/page/install-pear-phpunit-xdebug-on-macosx-snow-leopard)" rel="nofollow">http://www.newmediacampaigns.com/page/install-pear-phpunit-xdebug-on-macosx-snow-leopard)</a>, and added "/usr/local/PEAR" to the zend server php.ini include_path.</p>
<p>3. xdebug.so was installed in "/usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so" by default, so just copied it over to the zend php extension dir "/usr/local/zend/lib/php_extensions/xdebug.so". Then it showed up in Server Setup &gt; Extensions. The above "newmediacampaigns" link also has a link to a pre-compiled xdebug.so, so you can probably install it without the need to compile with xcode.</p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Pope</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-29822</link>
		<dc:creator>Keith Pope</dc:creator>
		<pubDate>Sat, 26 Dec 2009 19:51:02 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-29822</guid>
		<description>If you have trouble  with pecl modules giving:

mach-o, but wrong architecture in Unknown on line 0

This is because ZS and it modules are 32bit and the default build is for 64bit arch, correct by manually building the modules using the configure command:

./configure 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;</description>
		<content:encoded><![CDATA[<p>If you have trouble  with pecl modules giving:</p>
<p>mach-o, but wrong architecture in Unknown on line 0</p>
<p>This is because ZS and it modules are 32bit and the default build is for 64bit arch, correct by manually building the modules using the configure command:</p>
<p>./configure 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"</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjamin "balupton" Lupton</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-29614</link>
		<dc:creator>Benjamin "balupton" Lupton</dc:creator>
		<pubDate>Mon, 14 Dec 2009 10:35:05 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-29614</guid>
		<description>Great stuff, helped me a lot!

Although I came across a problem with the PEAR part, I kept getting a outdated channel error. Eventually I found the following:
http://blog.pear.php.net/2009/08/28/fixing-unsupported-protocol/

And now everything is good to go! :-)</description>
		<content:encoded><![CDATA[<p>Great stuff, helped me a lot!</p>
<p>Although I came across a problem with the PEAR part, I kept getting a outdated channel error. Eventually I found the following:<br />
<a href="http://blog.pear.php.net/2009/08/28/fixing-unsupported-protocol/" rel="nofollow">http://blog.pear.php.net/2009/08/28/fixing-unsupported-protocol/</a></p>
<p>And now everything is good to go! :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabio</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-29132</link>
		<dc:creator>Fabio</dc:creator>
		<pubDate>Tue, 10 Nov 2009 18:29:12 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-29132</guid>
		<description>Now when I access &quot;Server Setup&quot; I get the message &quot;No Zend Server components were found. If you weren&#039;t expecting this behavior, go to the Zend Support Center at: http://www.zend.com/support-cente&quot;</description>
		<content:encoded><![CDATA[<p>Now when I access "Server Setup" I get the message "No Zend Server components were found. If you weren't expecting this behavior, go to the Zend Support Center at: <a href="http://www.zend.com/support-cente" rel="nofollow">http://www.zend.com/support-cente</a>"</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Riki Risnandar</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-28819</link>
		<dc:creator>Riki Risnandar</dc:creator>
		<pubDate>Tue, 13 Oct 2009 14:30:36 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-28819</guid>
		<description>Thanks for the trick to change the port to 80. Do you know how to change the default htdocs to some folder in Document folder?</description>
		<content:encoded><![CDATA[<p>Thanks for the trick to change the port to 80. Do you know how to change the default htdocs to some folder in Document folder?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-28025</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Tue, 28 Jul 2009 17:25:43 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-28025</guid>
		<description>I had trouble with OS X&#039;s default apache install interfering when I changed the port.
You&#039;ll need to update /private/etc/apache2/httpd.conf to listen on another port.

I don&#039;t know why /usr/sbin/httpd was running but I couldn&#039;t get rid of it!</description>
		<content:encoded><![CDATA[<p>I had trouble with OS X's default apache install interfering when I changed the port.<br />
You'll need to update /private/etc/apache2/httpd.conf to listen on another port.</p>
<p>I don't know why /usr/sbin/httpd was running but I couldn't get rid of it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro Rodrigues</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-27975</link>
		<dc:creator>Pedro Rodrigues</dc:creator>
		<pubDate>Tue, 21 Jul 2009 10:19:38 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-27975</guid>
		<description>Hey,

I followed your notes, and had some problems upgrading PEAR, and so, installing xdebug. (like some notices and warnings)

Note that this is a version specific problem.
Zend Server CE installed v1.8.0 and xdebug needed v1.8.1.

If anyone has the same problem, here is the solution:

sudo rm -Rf /usr/local/zend/share/pear/.channels 

sudo pear update-channels

From: http://www.pear-forum.org/post-5065.html

By the way, nice post, as always.</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>I followed your notes, and had some problems upgrading PEAR, and so, installing xdebug. (like some notices and warnings)</p>
<p>Note that this is a version specific problem.<br />
Zend Server CE installed v1.8.0 and xdebug needed v1.8.1.</p>
<p>If anyone has the same problem, here is the solution:</p>
<p>sudo rm -Rf /usr/local/zend/share/pear/.channels </p>
<p>sudo pear update-channels</p>
<p>From: <a href="http://www.pear-forum.org/post-5065.html" rel="nofollow">http://www.pear-forum.org/post-5065.html</a></p>
<p>By the way, nice post, as always.</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-27672</link>
		<dc:creator>Rob...</dc:creator>
		<pubDate>Tue, 23 Jun 2009 06:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-27672</guid>
		<description>Thomas,

That sounds like a question for the &lt;a href=&quot;http://forums.zend.com/viewforum.php?f=44&quot; rel=&quot;nofollow&quot;&gt;Zend Server CE forum&lt;/a&gt;.

Regards,

Rob...</description>
		<content:encoded><![CDATA[<p>Thomas,</p>
<p>That sounds like a question for the <a href="http://forums.zend.com/viewforum.php?f=44" rel="nofollow">Zend Server CE forum</a>.</p>
<p>Regards,</p>
<p>Rob...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Bachmann</title>
		<link>http://akrabat.com/php/some-notes-on-zend-server-ce-for-mac-os-x/#comment-27671</link>
		<dc:creator>Thomas Bachmann</dc:creator>
		<pubDate>Tue, 23 Jun 2009 06:20:07 +0000</pubDate>
		<guid isPermaLink="false">http://akrabat.com/?p=669#comment-27671</guid>
		<description>Great post, thanks!

One thing that would be great is to change the htdocs directory to /Users/[username]/Sites to easily backup the users&#039; folder with all projects. But then the admin console does not work any more. I did a workaround with sym-links in the /usr/local/zend/apache/htdocs directory.
Any clue how to change the htdocs directory (Document Root) and still work with the admin console?
Maybe also changing the mysql data directory to /Users/[username]/Sites/mysql-data?

Thomas</description>
		<content:encoded><![CDATA[<p>Great post, thanks!</p>
<p>One thing that would be great is to change the htdocs directory to /Users/[username]/Sites to easily backup the users' folder with all projects. But then the admin console does not work any more. I did a workaround with sym-links in the /usr/local/zend/apache/htdocs directory.<br />
Any clue how to change the htdocs directory (Document Root) and still work with the admin console?<br />
Maybe also changing the mysql data directory to /Users/[username]/Sites/mysql-data?</p>
<p>Thomas</p>
]]></content:encoded>
	</item>
</channel>
</rss>
