View previous topic :: View next topic |
Author |
Message |
catchmeifuwant -
Joined: 09 Dec 2003 Posts: 2
|
Posted: Tue Dec 09, 2003 8:46 am Post subject: PHP & Oracle |
|
|
Hi there,
Let me give a brief overview of what I attempted till now:
1)Installed PHP 4.3.4 on Windows XP using the installer.
2)Installed Abyss Web Server X1 (v 1.2.0)
3)Have SQL*Plus: Release 9.2.0.1.0 - Production (Oracle 9i R 2)
Sample PHP's worked.Next step was to move into connecting to the DB.Here's the code:
<?php
$conn = Ora_Logon("user@CONNSTRING", "password");
?>
That's when I'm getting the error.On Googling learnt that I need to recompile PHP with Oracle support.Couldn't locate some info for :
Compiling PHP(installer version) on win xp to support Oracle 9i R2.
How to accomplish this?
Any inputs or ideas,links would be helpful.
Cheers !!!
PS:I'm 2 days into PHP..so pls give some detailed answers :-) |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Dec 09, 2003 4:00 pm Post subject: Re: PHP & Oracle |
|
|
To compile PHP on Windows, you need Visual C++ 6.0 or later and the PHP source code package. In the package there are instructions that will guide you through the compilation process. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Tue Dec 09, 2003 5:31 pm Post subject: |
|
|
The zipped windows binary (rather than the installer) already has the dll compiled and included for oracle support i believe... |
|
Back to top |
|
 |
catchmeifuwant -
Joined: 09 Dec 2003 Posts: 2
|
Posted: Wed Dec 10, 2003 7:09 am Post subject: |
|
|
Hi there,
thanks for all ur comments !!!
I downloaded the zipped version of PHP.
Edited PHP.ini to uncomment php_oci8.dll and copied the dll to windows folder.
It worked !!!
Thanks for all the support !!!
Cheers !!! |
|
Back to top |
|
 |
|