<?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: Technology of the day: Zend Server</title>
	<atom:link href="http://krook.net/archives/380/feed" rel="self" type="application/rss+xml" />
	<link>http://krook.net/archives/380</link>
	<description>Daniel Krook is an IBM Certified IT Specialist based in Armonk, New York.  He has over 10 years experience in Web site development and presently builds integrated applications on WebSphere and DB2 along with Apache, MySQL, and PHP for ibm.com and the intranet.  He holds certifications in PHP (ZCE), Java (SCJP, SCWCD), DB2 (ICDAssoc., ICAD), and Solaris (SCSA).  He occasionally writes PHP-related articles for IBM developerWorks and co-authored the IBM Redbook 'Developing PHP Applications for IBM Data Servers.'  His current interests include RESTful Web services and mobile application development for smartphones.</description>
	<lastBuildDate>Thu, 05 Aug 2010 20:55:29 -0400</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Lisa</title>
		<link>http://krook.net/archives/380/comment-page-1#comment-81751</link>
		<dc:creator>Lisa</dc:creator>
		<pubDate>Fri, 05 Mar 2010 17:50:56 +0000</pubDate>
		<guid isPermaLink="false">http://krook.net/?p=380#comment-81751</guid>
		<description>another way instead of sourcing /home/db2inst1/sqllib/db2profile is compile pdo_ibm your self

download the pdo_ibm package form pecl.php.net, un-compress it and &quot;cd&quot; into the forder.

run forllowing command

#/usr/local/zend/bin/phpize
#./configure --with-pdo-ibm=/home/db2inst1/sqllib 
#make &amp;&amp; make install

will create a new pdo_ibm extension in /usr/local/zend/lib/php_extension/

just need to restart zend server</description>
		<content:encoded><![CDATA[<p>another way instead of sourcing /home/db2inst1/sqllib/db2profile is compile pdo_ibm your self</p>
<p>download the pdo_ibm package form pecl.php.net, un-compress it and &#8220;cd&#8221; into the forder.</p>
<p>run forllowing command</p>
<p>#/usr/local/zend/bin/phpize<br />
#./configure &#8211;with-pdo-ibm=/home/db2inst1/sqllib<br />
#make &amp;&amp; make install</p>
<p>will create a new pdo_ibm extension in /usr/local/zend/lib/php_extension/</p>
<p>just need to restart zend server</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Al T.</title>
		<link>http://krook.net/archives/380/comment-page-1#comment-78067</link>
		<dc:creator>Al T.</dc:creator>
		<pubDate>Mon, 09 Nov 2009 06:24:51 +0000</pubDate>
		<guid isPermaLink="false">http://krook.net/?p=380#comment-78067</guid>
		<description>Hi Daniel,

Ran into the same DB2 problem you encountered ... &quot;Unable to load dynamic library ‘/usr/local/zend/lib/php_extensions/ibm_db2.so’&quot;.

Your solution did not work for me with Zend Server on Fedora 11 ... however, setting the directive &quot;ibm_db2.instance_name&quot; to &quot;db2inst1&quot;. You can do it via the Zend Server -&gt; Extensions, scroll down to the ibm_db2 extension, then click on the directives link.  This is likely the better solution. Note you need to make sure that /usr/local/zend/etc/conf.d/ibm_db2.ini is writable.  Of course, you can edit the ibm_db2.ini directly if need be.

Thanks for your article.  If you hadn&#039;t noted setting the db2inst1 profile, I would never had tried setting the ibm_db2 directive!

Cheers,
Al T.</description>
		<content:encoded><![CDATA[<p>Hi Daniel,</p>
<p>Ran into the same DB2 problem you encountered &#8230; &#8220;Unable to load dynamic library ‘/usr/local/zend/lib/php_extensions/ibm_db2.so’&#8221;.</p>
<p>Your solution did not work for me with Zend Server on Fedora 11 &#8230; however, setting the directive &#8220;ibm_db2.instance_name&#8221; to &#8220;db2inst1&#8243;. You can do it via the Zend Server -&gt; Extensions, scroll down to the ibm_db2 extension, then click on the directives link.  This is likely the better solution. Note you need to make sure that /usr/local/zend/etc/conf.d/ibm_db2.ini is writable.  Of course, you can edit the ibm_db2.ini directly if need be.</p>
<p>Thanks for your article.  If you hadn&#8217;t noted setting the db2inst1 profile, I would never had tried setting the ibm_db2 directive!</p>
<p>Cheers,<br />
Al T.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jess Portnoy</title>
		<link>http://krook.net/archives/380/comment-page-1#comment-76279</link>
		<dc:creator>Jess Portnoy</dc:creator>
		<pubDate>Sun, 06 Sep 2009 05:49:51 +0000</pubDate>
		<guid isPermaLink="false">http://krook.net/?p=380#comment-76279</guid>
		<description>Hello Daniel,

First, thanks for the thorough review.
I have a few small comments:
0. You wrote &quot;There’s a Community Edition that’s free but doesn’t include the more advanced features such as caching and monitoring..&quot;
While its true PageCache Zend extension is not part of the community edition [CE], the DataCache extension is included in both flavors.
1. While it can certainly be considered good practice, you don&#039;t have to manually remove the distribution&#039;s PHP packages, ours declare that they obsolete the ones from the distro and so, those will be removed during the installation of the ZS ones.
2. About sourcing /home/db2inst1/sqllib/db2profile, your method would of course work just fine, but I&#039;d recommend sourcing it in /etc/sysconfig/httpd instead or in /etc/apache2/envvars which is the parallel in Debian/Ubuntu distributions.

Thanks again for using ZendServer and writing this review.
If you have more feedback, feel free to drop me a line at jess zend com.</description>
		<content:encoded><![CDATA[<p>Hello Daniel,</p>
<p>First, thanks for the thorough review.<br />
I have a few small comments:<br />
0. You wrote &#8220;There’s a Community Edition that’s free but doesn’t include the more advanced features such as caching and monitoring..&#8221;<br />
While its true PageCache Zend extension is not part of the community edition [CE], the DataCache extension is included in both flavors.<br />
1. While it can certainly be considered good practice, you don&#8217;t have to manually remove the distribution&#8217;s PHP packages, ours declare that they obsolete the ones from the distro and so, those will be removed during the installation of the ZS ones.<br />
2. About sourcing /home/db2inst1/sqllib/db2profile, your method would of course work just fine, but I&#8217;d recommend sourcing it in /etc/sysconfig/httpd instead or in /etc/apache2/envvars which is the parallel in Debian/Ubuntu distributions.</p>
<p>Thanks again for using ZendServer and writing this review.<br />
If you have more feedback, feel free to drop me a line at jess zend com.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
