<?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>Better Programming &#187; apache</title>
	<atom:link href="http://www.betterprogramming.com/tag/apache/feed" rel="self" type="application/rss+xml" />
	<link>http://www.betterprogramming.com</link>
	<description>Portfolio</description>
	<lastBuildDate>Thu, 18 May 2017 14:50:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1</generator>
	<item>
		<title>Zend Server Community Edition on Ubuntu</title>
		<link>http://www.betterprogramming.com/zend-server-community-edition-on-ubuntu.html</link>
		<comments>http://www.betterprogramming.com/zend-server-community-edition-on-ubuntu.html#comments</comments>
		<pubDate>Fri, 16 Jul 2010 08:59:52 +0000</pubDate>
		<dc:creator><![CDATA[Florentin]]></dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[zend]]></category>
		<category><![CDATA[zend-server]]></category>

		<guid isPermaLink="false">http://www.betterprogramming.com/?p=174</guid>
		<description><![CDATA[What is Zend Server CE (Community Edition) You can think of Zend Server as a bundle of software and Php modules. For Linux, ZSCE has it&#8217;s own php-*-zend-server packages which replace the ones offered by the host Os, usually php5-* ZSCE automatically installs lighttpd-zend-server used for the web-based administration. Why to use Zend Server CE [&#8230;]]]></description>
				<content:encoded><![CDATA[<h2>What is Zend Server CE (Community Edition)</h2>
<p>You can think of Zend Server as a bundle of software and Php modules.<br />
For Linux, ZSCE has it&#8217;s own php-*-zend-server packages which replace the ones offered by the host Os, usually php5-*<br />
ZSCE automatically installs lighttpd-zend-server used for the web-based administration.</p>
<h2>Why to use Zend Server CE</h2>
<ul>
<li>Easy to start with specially useful for Php newcomers</li>
<li>Production-ready, integrated PHP stack for non-critical applications</li>
<li>PHP bytecode caching (Zend Optimizer+) &#8211; increases performance with no application changes</li>
<li>Data caching &#8211; a set of functions that allow developers to cache data in shared memory or to disk )</li>
<li>Zend Debugger available out of the box but possible to disable it and install Xdebug</li>
<li>Available on Windows, Linux and Mac</li>
<li>All in one install taking care of all the dependencies and needed libraries</li>
<li>Integrated administration console for setting up Apache and Php configurations</li>
<li>Free (the CE version) and supported by Zend which takes care of bug fixes and future improvements</li>
<li>Easy way to install Php 5.2 on Ubuntu Lucid or other distros which offer Php 5.3 by default</li>
<li>Easy to uninstall with no traces left on the system</li>
<li>Ability to install both Php 5.2 and Php 5.3 on the same system as described here http://ireallylikesushi.com/blog/2009/12/21/installing-both-zend-server-ce-php-5-2-php-5-3-on-snow-leopard/</li>
</ul>
<p><strong>Sources</strong></p>
<p>http://www.zend.com/en/products/server-ce/</p>
<p>http://devzone.zend.com/article/4295</p>
<h2>Installation (Ubuntu Lucid 10.04)</h2>
<p><code>echo deb http://repos.zend.com/zend-server/deb server non-free &gt; /etc/apt/sources.list.d/zend.list<br />
wget http://repos.zend.com/deb/zend.key -O- | sudo apt-key add -<br />
apt-get update<br />
apt-get install zend-server-ce-php-5.2 # for Php 5.2<br />
apt-get install zend-server-ce-php-5.3 # for Php 5.3</code></p>
<p>Please find the official installation details here:</p>
<p>http://files-source.zend.com/help/Zend-Server-Community-Edition/zend-server-community-edition.htm#deb_installation.htm</p>
<h2>Installing Xdebug on Zend Server (an alternative to Zend Debug)</h2>
<p><strong>Option 1 (recommended)</strong><br />
<code># get archive, configure and compile it. First check the latest version on xdebug.org<br />
wget http://www.xdebug.org/files/xdebug-2.1.0.tgz # replace it with the latest version<br />
tar -xzf xdebug-2.1.0.tgz<br />
cd xdebug-2.1.0/<br />
/usr/local/zend/bin/phpize<br />
./configure --enable-xdebug --with-php-config=/usr/local/zend/bin/php-config<br />
make</code><br />
<code><br />
# move the xdebug.so somewhere on the server<br />
cp modules/xdebug.so /work/xdebug/xdebug.so<br />
# edit zend-server's php.ini to enable xdebug<br />
sudo gedit /usr/local/zend/etc/php.ini<br />
# add to the end of the file<br />
zend_extension=/work/xdebug/xdebug.so<br />
</code><br />
<code><br />
# optionally, add some xdebug directives to that php.ini<br />
[xdebug]<br />
xdebug.profiler_output_dir = /tmp<br />
xdebug.profiler_enable_trigger = 1<br />
xdebug.remote_enable=1<br />
xdebug.remote_host=localhost</code><code><br />
xdebug.remote_port=9000<br />
xdebug.remote_handler=dbgp<br />
xdebug.var_display_max_data=10000<br />
xdebug.var_display_max_depth=20<br />
</code></p>
<p><strong>Option 2</strong></p>
<p>ZSCE comes with a package named php-5.2-xdebug-zend-server. At this moment, the Xdebug version offered by ZSCE is older (2.0.4) than the official one (2.1.0)<br />
<code><br />
# install xdebug.so in /usr/local/zend/lib/php_extensions/<br />
apt-get install php-5.2-xdebug-zend-server<br />
# Add the following line to /usr/local/zend/etc/php.ini<br />
zend_extension=/usr/local/zend/lib/php_extensions/xdebug.so<br />
# You may also add the xdebug directives described in Option 1.<br />
</code></p>
<h2>Controlling Zend Server</h2>
<p># show all commands<br />
<code>sudo /usr/local/zend/bin/zendctl.sh -h</code></p>
<p># restart zend server, including apache server and lighttpd server<br />
<code>sudo /usr/local/zend/bin/zendctl.sh restart</code></p>
<h2>The end</h2>
<p># My bookmarks regarding Zend Server</p>
<p>http://delicious.com/florentin/zend-server</p>
<p># Other bookmarks</p>
<p>http://delicious.com/search?p=zend%20server&#038;u=&#038;chk=&#038;context=main&#038;fr=del_icio_us&#038;lc=0</p>
]]></content:encoded>
			<wfw:commentRss>http://www.betterprogramming.com/zend-server-community-edition-on-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
