View previous topic :: View next topic |
Author |
Message |
sikoriusz -
Joined: 25 Mar 2004 Posts: 5 Location: Krakow, Poland, Europe
|
Posted: Thu May 20, 2004 7:18 pm Post subject: Tried Oracle? If so, help please. |
|
|
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 |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Thu May 20, 2004 7:50 pm Post subject: |
|
|
sikoriusz, welcome to the forums.
Did you uncomment the following extension in your php.ini?
Code: | ;extension=php_oci8.dll |
|
|
Back to top |
|
 |
sikoriusz -
Joined: 25 Mar 2004 Posts: 5 Location: Krakow, Poland, Europe
|
Posted: Thu May 20, 2004 8:30 pm Post subject: |
|
|
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 |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Thu May 20, 2004 8:48 pm Post subject: |
|
|
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 |
|
 |
sikoriusz -
Joined: 25 Mar 2004 Posts: 5 Location: Krakow, Poland, Europe
|
Posted: Fri May 21, 2004 7:12 am Post subject: |
|
|
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 |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri May 21, 2004 2:50 pm Post subject: Re: Tried Oracle? If so, help please. |
|
|
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 |
|
 |
|