Jump to content


Photo

HELP!!!


  • Please log in to reply
3 replies to this topic

#1 countnikon

countnikon
  • Members
  • PipPip
  • Member
  • 19 posts

Posted 26 July 2006 - 07:18 PM

I'm trying to get the Oracle Instant Client working with PHP on FC4.  All the guides I see say that you need to reinstall PHP.  However, I still need MySQL on this server for certain internal applications that we don't want to use oracle for.  Does anybody know an easy way around this?  I really need to be able to run both.

#2 countnikon

countnikon
  • Members
  • PipPip
  • Member
  • 19 posts

Posted 08 August 2006 - 01:42 PM

Here is Zend's anser to the problem:

Hello Michael,

What you will have to do is download the PHP 5.0.5 PHP binaries from php.net, extract them, locate the mysql.so file and copy it into the extension directory for Zend Core for Oracle, and then manually enable it via the php.ini file(extension=mysql.so). That will require a restart. This is not supported as it involves the use of a 3rd party driver. Newer versions of Zend Core for Oracle already come with the MySQL extension(disabled by default) and all you have to do is enable it.

Please don't hesitate to contact us with any additional questions.

-----------------------------------------------------------
Thank you for contacting Zend Support Center.


#3 lead2gold

lead2gold
  • Members
  • PipPipPip
  • Advanced Member
  • 164 posts
  • LocationOttawa, On

Posted 08 August 2006 - 01:50 PM

I'm trying to get the Oracle Instant Client working with PHP on FC4.  All the guides I see say that you need to reinstall PHP.  However, I still need MySQL on this server for certain internal applications that we don't want to use oracle for.  Does anybody know an easy way around this?  I really need to be able to run both.


I wouldn't think reinstalling is nessisary as php is already a compiled library. 
You just need to edit your php.ini file and enable this line:
;extension=php_oracle.dll

change to:
extension=php_oracle.dll

But you might want to check on php.net and see if there is anything else you need to do to ensure that the Oracle DB works properly.

#4 countnikon

countnikon
  • Members
  • PipPip
  • Member
  • 19 posts

Posted 08 August 2006 - 01:51 PM

That is for Windows though.  I'm doing this on Linux




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users