By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,347 Members | 2,091 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,347 IT Pros & Developers. It's quick & easy.

Php Oci8

P: 111
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


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.
Dec 13 '07 #1
Share this Question
Share on Google+
3 Replies

P: 111
anyone? any help on this matter would be great
Dec 14 '07 #2

P: 157
Not sure if you have already looked at this site or not, but it may help. Good Luck!
Dec 15 '07 #3

P: 1
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?
Jan 23 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.