Oracle support ?

General discussion for the Zend Server CE

Re: Oracle support ?

Postby kentatzend on Sat Feb 21, 2009 12:09 am

Thanks to Nick for the very detailed instructions for a work around. Zend will be looking at adding Oracle support as a standard part of our Mac product for the GA release on the OS versions Oracle supports.

BTW some of this is generally good information about how to build PHP extensions on Mac.
User avatar
kentatzend
 
Posts: 1781
Joined: Thu Dec 11, 2008 1:08 pm

Re: Oracle support ?

Postby knagurski on Tue Feb 24, 2009 10:44 am

4.PECL comes very handy at this point. Download and build the extension using PECL as previously mentioned by Shahar.
Code: Select all
cd /Applications/ZendServer/bin/
sudo ./pecl install oci8

You will be requested to provide path to ORACLE_HOME
Code: Select all
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

1-1, 'all', 'abort', or Enter to continue:


Type 1 and then provide it with
Code: Select all
instantclient,/opt/oracle/instantclient_10_2


Unfortunately I got this far and it just kept asking me for the location. I followed the steps verbatim, but no luck :-(

Thanks Zend for making these standard in the GA release. I'm really looking forward to it.
knagurski
 
Posts: 27
Joined: Thu Feb 19, 2009 11:16 am

Re: Oracle support ?

Postby nickma on Tue Feb 24, 2009 11:45 pm

knagurski

It was unclear to me too in the beginning. I would expect to post the path but before you past it you actually have to tell it that you want to past the path.

1) type 1 - press Return on Apple keyboard.
2) paste the path and press Retun.
User avatar
nickma
 
Posts: 137
Joined: Mon Dec 29, 2008 5:27 pm

Re: Oracle support ?

Postby knagurski on Mon Mar 02, 2009 10:49 am

nickma wrote:It was unclear to me too in the beginning. I would expect to post the path but before you past it you actually have to tell it that you want to past the path.

1) type 1 - press Return on Apple keyboard.
2) paste the path and press Retun.

The prompt is as clear as mud. Anyway, followed your advice and it went through and created the module. However, it created it in /usr/lib/php/extensions/no-debug-non-zts-20060613/ and ZendServer wasn't picking it up.

Copied it to the ZendServer extensions directory and restarted
Code: Select all
sudo cp /usr/lib/php/extensions/no-debug-non-zts-20060613/oci8.so /Applications/ZendServer/lib/php_extensions/
sudo /Applications/ZendServer/bin/zendctl.sh restart-apache

Then went into the Admin interface and enabled it as usual.

Thanks for your help. I can now FINALLY get rid of my virtual machine. Would be nice if handling of vhosts was included in the interface too. Just have a look at MAMP Pro and steal their ideas :-)
knagurski
 
Posts: 27
Joined: Thu Feb 19, 2009 11:16 am

Re: Oracle support ?

Postby arthurpararas on Mon Apr 09, 2012 9:15 am

Nickma's guide was brilliant. Thanks for your support...

As users of MacOS my company had the exact same problem.
arthurpararas
 
Posts: 1
Joined: Sun Apr 08, 2012 10:07 pm
Location: Greece

Previous

Return to Zend Server Community Edition

Who is online

Users browsing this forum: No registered users and 1 guest