<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3407182704671940753</id><updated>2011-11-27T18:38:14.156-05:00</updated><category term='php oci8 build compilation Zend Server &quot;Zend Server&quot;'/><title type='text'>Foo Bar doom</title><subtitle type='html'>My random post on anything related.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.somethingeveryday.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407182704671940753/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://www.somethingeveryday.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Nick Maiorsky</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3407182704671940753.post-5590525567097688285</id><published>2009-07-07T16:54:00.000-04:00</published><updated>2009-07-07T18:36:19.802-04:00</updated><title type='text'>Zend Server CE AMI</title><content type='html'>I'm working on some AMI with pre-installed Zend Server CE.&lt;br /&gt;&lt;br /&gt;Images have all the repositories configured and have most the extensions you would ever need.Should save you some time setting it all.&lt;br /&gt;&lt;br /&gt;Manifest: zend/zend-server-ce-4.0.3-32bit-20090707.manifest.xm&lt;br /&gt;AMI ID: ami-51e30238&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3407182704671940753-5590525567097688285?l=www.somethingeveryday.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.somethingeveryday.com/feeds/5590525567097688285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.somethingeveryday.com/2009/07/zend-server-ami.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407182704671940753/posts/default/5590525567097688285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407182704671940753/posts/default/5590525567097688285'/><link rel='alternate' type='text/html' href='http://www.somethingeveryday.com/2009/07/zend-server-ami.html' title='Zend Server CE AMI'/><author><name>Nick Maiorsky</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407182704671940753.post-2674571615750329822</id><published>2009-03-24T19:20:00.000-04:00</published><updated>2009-03-24T19:35:10.690-04:00</updated><title type='text'>Zend Server Betas</title><content type='html'>I'm was glad to know the Zend Server Beta 3 is out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3407182704671940753-2674571615750329822?l=www.somethingeveryday.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.somethingeveryday.com/feeds/2674571615750329822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.somethingeveryday.com/2009/03/zend-server-betas.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407182704671940753/posts/default/2674571615750329822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407182704671940753/posts/default/2674571615750329822'/><link rel='alternate' type='text/html' href='http://www.somethingeveryday.com/2009/03/zend-server-betas.html' title='Zend Server Betas'/><author><name>Nick Maiorsky</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407182704671940753.post-5686583819425704164</id><published>2009-03-20T23:07:00.000-04:00</published><updated>2009-03-20T23:08:38.223-04:00</updated><title type='text'>Zend Server Beta2 is out</title><content type='html'>Just FYI the update is out. The OSX update is not yet there as for March 20th ,but it's already in the pipe.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3407182704671940753-5686583819425704164?l=www.somethingeveryday.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.somethingeveryday.com/feeds/5686583819425704164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.somethingeveryday.com/2009/03/zend-server-beta2-is-out.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407182704671940753/posts/default/5686583819425704164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407182704671940753/posts/default/5686583819425704164'/><link rel='alternate' type='text/html' href='http://www.somethingeveryday.com/2009/03/zend-server-beta2-is-out.html' title='Zend Server Beta2 is out'/><author><name>Nick Maiorsky</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407182704671940753.post-8745121701343729676</id><published>2009-03-04T15:34:00.000-05:00</published><updated>2009-03-04T15:36:55.678-05:00</updated><title type='text'>i5 Db2 and PHP can talk</title><content type='html'>Will write an article about the setup.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3407182704671940753-8745121701343729676?l=www.somethingeveryday.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.somethingeveryday.com/feeds/8745121701343729676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.somethingeveryday.com/2009/03/i5-db2-and-php-can-talk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407182704671940753/posts/default/8745121701343729676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407182704671940753/posts/default/8745121701343729676'/><link rel='alternate' type='text/html' href='http://www.somethingeveryday.com/2009/03/i5-db2-and-php-can-talk.html' title='i5 Db2 and PHP can talk'/><author><name>Nick Maiorsky</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407182704671940753.post-5538184314716297677</id><published>2009-02-20T23:00:00.000-05:00</published><updated>2009-02-20T23:01:08.600-05:00</updated><title type='text'>Yes , I almost forgot. Zend Server can be downloaded from here.</title><content type='html'>&lt;a href="http://www.zend.com/en/products/server/"&gt;http://www.zend.com/en/products/server/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3407182704671940753-5538184314716297677?l=www.somethingeveryday.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.somethingeveryday.com/feeds/5538184314716297677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.somethingeveryday.com/2009/02/yes-i-almost-forgot-zend-server-can-be.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407182704671940753/posts/default/5538184314716297677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407182704671940753/posts/default/5538184314716297677'/><link rel='alternate' type='text/html' href='http://www.somethingeveryday.com/2009/02/yes-i-almost-forgot-zend-server-can-be.html' title='Yes , I almost forgot. Zend Server can be downloaded from here.'/><author><name>Nick Maiorsky</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407182704671940753.post-6064328109137996320</id><published>2009-02-20T18:01:00.001-05:00</published><updated>2009-02-20T19:59:55.997-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='php oci8 build compilation Zend Server &quot;Zend Server&quot;'/><title type='text'>Building Oracle Extension for Zend Server PHP on MacOSX</title><content type='html'>Update: Zend is planing to include OCI8 extension in GE version .&lt;br /&gt;&lt;br /&gt;Following are the required steps , tested on up to date MacBook.&lt;br /&gt;&lt;br /&gt;Thanks to Danilo Vizzarro site for very good examples&lt;br /&gt;&lt;a href="http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/"&gt;http://www.danilovizzarro.it/2008/07/how-to-install-php5-oci8-the-oracle-client-v102-and-sqlplus-on-macos-x-leopard-1054/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;1.First requirement is Xcode from Apple site. Xcode installs Unix build tools .Default installation of XCode will take care of the build environment. GCC and the CLI environment variables. &lt;br /&gt;To download Xcode free online ADC Membership. If you are already a member, log in with your ADC Member Apple ID and password.&lt;br /&gt;http://developer.apple.com/technology/xcode.html&lt;br /&gt;&lt;br /&gt;2.Second requirement is Oracle Instant Client Libraries needed for correct compilation of OCI8 extension.&lt;br /&gt;You will need to packages:&lt;br /&gt;instantclient-basic-macosx-10.2.0.4.0.zip (34,020,719 bytes)&lt;br /&gt;instantclient-sdk-macosx-10.2.0.4.0.zip (603,493 bytes)&lt;br /&gt;Download from the following page at Oracle website: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/intel_macsoft.html&lt;br /&gt;&lt;br /&gt;3.You will have to create directory on you system where Oracle libraries will reside .Unpack previously downloaded OIC and SDK files at this dedicated folder.&lt;br /&gt;&lt;br /&gt;mkdir -p /opt/oracle&lt;br /&gt;cd /opt/oracle&lt;br /&gt;cp /Users/nick/Desktop/instant*.zip /opt/oracle&lt;br /&gt;unzip \*.zip&lt;br /&gt;cd /opt/oracle/instantclient_10_2&lt;br /&gt;You also need to link two files otherwise you will not be able to build the extension.&lt;br /&gt;&lt;br /&gt;cd /opt/oracle/instantclient_10_2&lt;br /&gt;ln -s libclntsh.dylib.10.1 libclntsh.dylib&lt;br /&gt;ln -s libocci.dylib.10.1 libocci.dylib&lt;br /&gt;&lt;br /&gt;[b]4.PECL comes very handy at this point. Download and build the extension using PECL as previously mentioned by Shahar.[/b]&lt;br /&gt;&lt;br /&gt;cd /Applications/ZendServer/bin/&lt;br /&gt;sudo ./pecl install oci8&lt;br /&gt;&lt;br /&gt;You will be requested to provide path to ORACLE_HOME&lt;br /&gt;&lt;br /&gt;1. Please provide the path to the ORACLE_HOME directory. Use 'instantclient,/path/to/instant/client/lib' if you're compiling with Oracle Instant Client : autodetect&lt;br /&gt;&lt;br /&gt;1-1, 'all', 'abort', or Enter to continue:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Type 1 and  then provide it with&lt;br /&gt;&lt;br /&gt;instantclient,/opt/oracle/instantclient_10_2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PECL will take care of all the rest and the oci8.so will be placed at the extension folder.&lt;br /&gt;/Applications/ZendServer/lib/php_extensions&lt;br /&gt;&lt;br /&gt;5.Unfortunately I wasn't able to find a way compile OCI8 to be a separate,no library dependant extension.Oracle Client libraries required be located in DYLD_LIBRARY_PATH and oci8 extension will not load without them. If you think about compiling the extension and then moving it to other machine , libraries will have to be installed as well.&lt;br /&gt;&lt;br /&gt;6.Final very important issue related to the DYLD_LIBRARY_PATH issue mentioned before.At first Oci8 extension if enabled will prevent Apache from starting and you will get large red error in the GUI.&lt;br /&gt;"Failed to access Web server. Please make sure that the Web server is running and listening to the correct port"&lt;br /&gt;&lt;br /&gt;Without going into too many details why oci8.so is linked to external files and why is it preventing Apache from starting .Workaround is to add so called ORACLE_HOME to  DYLD_LIBRARY_PATH environment of the Apache server.&lt;br /&gt;&lt;br /&gt;Edit in text editor /Applications/ZendServer/apache2/bin/envvars and change&lt;br /&gt;DYLD_LIBRARY_PATH="/Applications/ZendServer/apache2/lib:$DYLD_LIBRARY_PATH" to&lt;br /&gt;DYLD_LIBRARY_PATH="/Applications/ZendServer/apache2/lib:/opt/oracle/instantclient_10_2:$DYLD_LIBRARY_PATH"&lt;br /&gt;&lt;br /&gt;Stop and Start Apache&lt;br /&gt;[code]sudo /Applications/ZendServer/apache2/bin/apachectl stop[/code]&lt;br /&gt;[code]sudo /Applications/ZendServer/apache2/bin/apachectl start[/code]&lt;br /&gt;&lt;br /&gt;7.Enable oci8 from Zend Server GUI and check PHPINFO , extension should be loaded and you should be good to connect Oracle Databases&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3407182704671940753-6064328109137996320?l=www.somethingeveryday.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.somethingeveryday.com/feeds/6064328109137996320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.somethingeveryday.com/2009/02/following-are-required-steps-tested-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407182704671940753/posts/default/6064328109137996320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407182704671940753/posts/default/6064328109137996320'/><link rel='alternate' type='text/html' href='http://www.somethingeveryday.com/2009/02/following-are-required-steps-tested-on.html' title='Building Oracle Extension for Zend Server PHP on MacOSX'/><author><name>Nick Maiorsky</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407182704671940753.post-1801078456944700354</id><published>2009-02-20T03:12:00.000-05:00</published><updated>2009-02-20T03:16:16.320-05:00</updated><title type='text'>OCI8 from PECL for Zend Server.</title><content type='html'>Last few hours I was trying to compile oci8 for Zend Server on my MacBook.&lt;br /&gt;&lt;br /&gt;I was able to do it , instructions will follow.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3407182704671940753-1801078456944700354?l=www.somethingeveryday.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.somethingeveryday.com/feeds/1801078456944700354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.somethingeveryday.com/2009/02/oci8-from-pecl-for-zend-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407182704671940753/posts/default/1801078456944700354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407182704671940753/posts/default/1801078456944700354'/><link rel='alternate' type='text/html' href='http://www.somethingeveryday.com/2009/02/oci8-from-pecl-for-zend-server.html' title='OCI8 from PECL for Zend Server.'/><author><name>Nick Maiorsky</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3407182704671940753.post-3974563935519493615</id><published>2009-01-01T20:13:00.000-05:00</published><updated>2009-01-01T20:14:21.153-05:00</updated><title type='text'>Test Drive Post</title><content type='html'>Looking at &lt;span dir="ltr" id=":1v"&gt;&lt;a href="http://elasticserver.com/"&gt;http://elastics&lt;wbr&gt;erver.com/&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3407182704671940753-3974563935519493615?l=www.somethingeveryday.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.somethingeveryday.com/feeds/3974563935519493615/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.somethingeveryday.com/2009/01/test-drive-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3407182704671940753/posts/default/3974563935519493615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3407182704671940753/posts/default/3974563935519493615'/><link rel='alternate' type='text/html' href='http://www.somethingeveryday.com/2009/01/test-drive-post.html' title='Test Drive Post'/><author><name>Nick Maiorsky</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
