OCI and oracle database

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Dilbert137
Forum Commoner
Posts: 57
Joined: Sat Jun 02, 2007 5:02 am
Location: Mauritius

OCI and oracle database

Post by Dilbert137 »

Dear All,

I'm developing a website which must have a link to an oracle database. does anyone knows how to configure OCI on a linux server.

Thanks and Best Regards
Dilbert137
Last edited by Dilbert137 on Mon Jan 11, 2010 11:47 pm, edited 1 time in total.
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: OCI and oracle database

Post by AbraCadaver »

I assume the database is on a different machine? If so, then on the Linux machine running PHP, just install the client libraries http://www.oracle.com/technology/softwa ... index.html and enable the oci extension in php.ini I think. If the database is on the Linux server where you will be running PHP, then you should just need to enable the extension.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Dilbert137
Forum Commoner
Posts: 57
Joined: Sat Jun 02, 2007 5:02 am
Location: Mauritius

Re: OCI and oracle database

Post by Dilbert137 »

Dear Sir,

When installing the oracle client, is there configuration to be done?

Best Regards
Dilbert137
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: OCI and oracle database

Post by AbraCadaver »

Dilbert137 wrote:Dear Sir,

When installing the oracle client, is there configuration to be done?

Best Regards
Dilbert137
I don't think so. I have never done it, but they are just libraries that the PHP oci extension needs.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Post Reply