PDA

View Full Version : Config Problem with zabbix 1.4 & Oracle DB


jonmor
06-09-2007, 15:50
Hi,

I'm having problem to install zabbix 1.4.2 on Redhat EL4
My problem is that he didn`t detect my php database support (I’ve used php-oci8) I couldn’t find the php-sqlora8 mentioned in the documentation. Here’s my php package :

php-cli-5.2.3-1
php-common-5.2.3-1
php-ldap-5.2.3-1
php-gd-5.2.3-1
php-pdo-5.2.3-1
php-5.2.3-1
php-snmp-5.2.3-1
php-oci8-5.2.3-1 ( require oracle-instantclient-basic-10.2.0.3-1.i386.rpm & libsqlite-3.2.1-1.i386.rpm)

Anyone have an idea how to correct this ?

Thanks

jonmor
06-09-2007, 17:09
Ty all i get it work.

albertxiao
31-12-2008, 09:59
I met with the same problem, anyone knows how to solve it?:confused:

dotneft
01-01-2009, 19:47
Try thise manual http://www.oracle.com/technology/pub/notes/technote_php_instant.html

dotneft
01-01-2009, 19:49
I met with the same problem, anyone knows how to solve it?:confused:

I think you need oracle-instantclient-basic-10.1.0.3-1.i386.rpm and oracle-instantclient-devel-10.1.0.3-1.i386.rpm

albertxiao
02-01-2009, 03:01
oracle-instantclient-basic-10.1.0.3-1.i386.rpm has been installed.
If you have installed php-oci8-5.2.3-1, the oracle instantclient has to be installed first.
Anything else?

lcondado
06-02-2009, 19:27
Check this excelent manual

http://www.oracle.com/technology/tech/php/pdf/underground-php-oracle-manual.pdf

albertxiao
07-02-2009, 05:58
The manual is very useful.
However, I find out it is not difficult to get PHP&Oracle work.

1. You need to install rpms or you need to build the source code.
2. You need to ensure the TNS_ADMIN has been point to the correct location.
3. It is very possible that you set ORACLE_HOME correctly but PHP just can not find the correct tns file. For this care, my solution is set ORACLE_HOME to a wrong location(you need to set the ORACLE_HOME, but the value of it is not very important, if it is rpm install)