php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20019 php oracle connection
Submitted: 2002-10-22 01:45 UTC Modified: 2002-10-22 01:56 UTC
From: raisharm at rediffmail dot com Assigned:
Status: Not a bug Package: Oracle related
PHP Version: 4.2.0 OS: linux7.3
Private report: No CVE-ID: None
 [2002-10-22 01:45 UTC] raisharm at rediffmail dot com
hello,

      I'm doing a project in php.The operating system i'm using is Linux7.3.At first the database i used was mysql.
There was no problem with this.But now I want to use Oracle9i as my database.I have installed Oracle9i for linux in another machine on the same network.Oracle is running properly.I want to connect to this database from a different machine using php
and Apache webserver.
Is there any extra configuration needed for the Apache web server to get the connection?Is there anything to configure in the CLASSPATH in my machine?
I have tested using the Oracle 8 functions in php.But,there are no functions to specify the host name.

For ex: int OCILogon(string username,string password[, string db]) 
Using this function we can connect only to the local host.

Is there any configuration to be made in the /etc/php.ini
file?

Kindly reply soon...
                                                     
                                                    raisha
                                                                                             

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-22 01:56 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 20:01:45 2024 UTC