Connecting Tech Pros Worldwide Help | Site Map

Php Oci8

Member
 
Join Date: Jun 2007
Posts: 111
#1: Dec 13 '07
Hi this may sound like an amatuer question, but i do not know much about the server side of things relating to php

Basically what i wanted to know was, has anyone ever tried to setup php to run with oracle.

I've been searching online and have found alot of resources.

but i keep falling at the first step with is to enable the OCI enxtension in php.ini

i've copied the php_oci8.dll extension in the right extension path, and have uncomment the line

[PHP]extension=php_oci8.dll[/PHP]

in the php.ini file by removing the ';' in front of the line.

as soon as i do this the webserver completly stops delivering any webcontent.

i am running php 4.4.1 on windows IIS 5.

i have done the same thing for other extensions in the past, such as the php_gd2.dll extension and it worked fine.

Am i missing something when i try to enable the oci8 extension.
Member
 
Join Date: Jun 2007
Posts: 111
#2: Dec 14 '07

re: Php Oci8


anyone? any help on this matter would be great
stepterr's Avatar
Familiar Sight
 
Join Date: Nov 2007
Posts: 144
#3: Dec 15 '07

re: Php Oci8


Not sure if you have already looked at this site or not, but it may help. Good Luck!
Link
Newbie
 
Join Date: Jan 2008
Location: Hungary
Posts: 1
#4: Jan 23 '08

re: Php Oci8


Hello all!

I would have a bit more complex question. What I have now is:
SLES 10 sp1 (32bit) + Apache 2.2.0 + PHP 5.1.2
What I would need is OCI8 extension. Not MySQL!
I installed the Oracle Instant Client.
I tried to remove PHP through YAST, and install it manually with OCI8 ( ./configure --with-oci8=instantclient,/(path to lib) ...) but it wasn't successfull. Not even the PHP part was working, only the normal webservice.
I would like to connect with php scripts to another oracle server (the database is not on this server!).
Any ideas how to solve this?
Thanks!
Reply