Connect to Oracle database on a different server from PHP
Posted
by
macha
on Stack Overflow
See other posts from Stack Overflow
or by macha
Published on 2011-01-04T14:43:06Z
Indexed on
2011/01/04
14:53 UTC
Read the original article
Hit count: 249
Hello I have a database engine sitting on a remote server, while my webserver is present locally. I have worked pretty much with client-server architecture, where the server has both the webserver and the database engine. Now I need to connect to an Oracle database which is situated on a different server.
Can anybody give me any suggestions?? I believe ODBC_CONNECT might not work. Do I use OCI8 drivers?? How would I connect to my database server.
Also I would have a very high number of database calls going back and forth, so is it good to go with persistent connection or do I still use individual database calls?
© Stack Overflow or respective owner