PHP & Oracle

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
catchmeifuwant
-


Joined: 09 Dec 2003
Posts: 2

PostPosted: Tue Dec 09, 2003 8:46 am    Post subject: PHP & Oracle Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Dec 09, 2003 4:00 pm    Post subject: Re: PHP & Oracle Reply with quote

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 View user's profile Send private message Send e-mail
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Tue Dec 09, 2003 5:31 pm    Post subject: Reply with quote

The zipped windows binary (rather than the installer) already has the dll compiled and included for oracle support i believe...
Back to top View user's profile Send private message
catchmeifuwant
-


Joined: 09 Dec 2003
Posts: 2

PostPosted: Wed Dec 10, 2003 7:09 am    Post subject: Reply with quote

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 View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group