Tried Oracle? If so, help please.

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


Joined: 25 Mar 2004
Posts: 5
Location: Krakow, Poland, Europe

PostPosted: Thu May 20, 2004 7:18 pm    Post subject: Tried Oracle? If so, help please. Reply with quote

Hi, did anyone ever tried to connect to oracle database via php? I'm using AbyssWS, and am not sure: is there any 'trick' in AWS configuration? I got both Ora client and php installed, works fine separately, but I get an error from php4ts.dll when trying to connect. Everything I did so far , I did according to php.net docs about Oracle.
Back to top View user's profile Send private message Visit poster's website
Moxxnixx
-


Joined: 21 Jun 2003
Posts: 1226
Location: Florida

PostPosted: Thu May 20, 2004 7:50 pm    Post subject: Reply with quote

sikoriusz, welcome to the forums.
Did you uncomment the following extension in your php.ini?
Code:
;extension=php_oci8.dll
Back to top View user's profile Send private message Visit poster's website
sikoriusz
-


Joined: 25 Mar 2004
Posts: 5
Location: Krakow, Poland, Europe

PostPosted: Thu May 20, 2004 8:30 pm    Post subject: Reply with quote

Sure I did. As I told i did exactly like php.net manual says. That's why i'm asking if i need some extra config in AWS.
Back to top View user's profile Send private message Visit poster's website
Moxxnixx
-


Joined: 21 Jun 2003
Posts: 1226
Location: Florida

PostPosted: Thu May 20, 2004 8:48 pm    Post subject: Reply with quote

Hey, you wouldn't believe how many times I've heard "I did exactly what the directions say"
on this forum, only to find it was something simple. No disrespect was intended.

No configuration is needed in the server. The database connects directly with the scripts.
Create a phpinfo.php (below), then browse to this file to see if Oracle is enabled for PHP:
Code:
 <?php
     print phpinfo();
  ?>
Back to top View user's profile Send private message Visit poster's website
sikoriusz
-


Joined: 25 Mar 2004
Posts: 5
Location: Krakow, Poland, Europe

PostPosted: Fri May 21, 2004 7:12 am    Post subject: Reply with quote

Sure it's enabled.
So: I don't need any extra configuration in AWS? There are some VARs to add in Apache to enabe oracle support, that's why I ask.
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri May 21, 2004 2:50 pm    Post subject: Re: Tried Oracle? If so, help please. Reply with quote

sikoriusz,

There nothing special to configure in Abyss to have your scripts use any database. All the configuration should be done on the PHP side only.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
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