Discussion » Could Someone Give Me Advice?

This is a read-only copy. The forum ran on iamcal.com from 2000 until its database was lost in 2016, and this topic was rebuilt from copies saved by the Internet Archive's Wayback Machine. Some replies may be missing.
Posted by earthworm, 11:51, 21st May 2003:
 
I am trying to connect a PHP script to an Oracle database. What is the best way to do this?

Do I need to recompile my installation of PHP??

I tried to use a function called ocilogon() but it says it's undefined!

Anyone?
Posted by Foghorn Leghorn, 11:51, 21st May 2003:
 
Just eat a kiwi, and be happy
Posted by earthworm, 11:52, 21st May 2003:
 
I thought you might say that!
Posted by earthworm, 11:53, 21st May 2003:
 
anyway, I tried that and that also an undeclared function...
Posted by cal, 11:53, 21st May 2003:
 
php on windows or unix?
Posted by earthworm, 11:53, 21st May 2003:
 
windows 2k...
Posted by earthworm, 11:54, 21st May 2003:
 
might be windows NT...
Posted by cal, 11:55, 21st May 2003:
 
dl("php_oci8"); or dl("php_oracle"); depending on which library you want to use
Posted by cal, 11:56, 21st May 2003:
 
there should be php_oci8.dll and php_oracle.dll files in your php/extensions/ folder
Posted by cal, 11:59, 21st May 2003:
 
oh, and if you're using IIS not apache, then you'll need to edit php.ini instead. remove the semi colon from this line: ";extension=php_oci8.dll"

(and then restart IIS)
Posted by Sul, 12:01, 21st May 2003:
 
thats exactly what I was going to say. Uncanny
Posted by earthworm, 12:03, 21st May 2003:
 
Yey...

Thanks...

Simon says thanks... Would it be ok to ask you again if we run into problems later? I promise I won't keep asking...
Posted by jlittle, 12:08, 21st May 2003:
 
Beat to it again ;(
Posted by cal, 12:15, 21st May 2003:
 
earthworm: sure
Posted by cal, 12:15, 21st May 2003:
 
jlittle: it's not a competition
Posted by earthworm, 12:36, 21st May 2003:
 
cal: thanks...
Posted by earthworm, 13:35, 21st May 2003:
 
I can't find those files you pointed out further up the thread... Can I install them seperatly or would I have to reinstall everything again!?
Posted by cal, 15:14, 21st May 2003:
 
just download the php zip: uk.php.net/get/php-4.3.1-Win32.zip/from/...

then extract the relevant files from it
Posted by Victor Menendez, 15:18, 21st May 2003:
 
I have some advice, dont get an illiterate dwarf.

Its not big and its not clever.
Posted by arsepuppy, 15:20, 21st May 2003:
 
That was the joke of the day here yesterday.
Posted by arsepuppy, 15:21, 21st May 2003:
 
What's Rik Waller's favourite type of graph?






A Bistogram






hmmm. My own jokes are a bit shit.
Posted by Victor Menendez, 15:24, 21st May 2003:
 
When? Where?
Posted by cal, 15:24, 21st May 2003:
 
that's pretty poor
Posted by arsepuppy, 15:26, 21st May 2003:
 
Vic: In my office, yesterday.