OAS 10.1.2.0.2 - How configure PHP with database access

I Installed OAS 10.1.2.0.2 on SuSe 9.3.
I put in $ORACLE_HOME/Apache/Apache/htdocs a php pages for test if this OAS versión supported php.
The test is ok, this versión support PHP, but not are configured to PHP with database access.
My question is: How I configure this OAS 10.1.2.0.2 to use PHP with database access?
I need install all PHP although my php pages is running (without database access) ??? or I only need configure database access?

How I compile my PHP with --with-oci8??                                                                                                                                                                                                                           

Similar Messages

  • How OEM works with database

    Hi,
    We use OEM (12c),have db (11.2,10.2/1).
    How OEM works with database?
    When oem initated a job aginst  db,What are the steps preformed by OEM?What are the info updated in OEM DB and Normal DB regading jobs?And Where?
    Br

    At what point do you get this message?
    Have a look at the Windows Service. Ensure the EM Agent is running. Your database and Listener may be running, but if the Agent is not running, you will not be able to see correct status.
    Stop and start the Agent

  • How to interact with database?

    Hi,
    I am exploring sampleportal application in Weblogic Portal8.1 SP4. There in login portlet they are using login.jsp file which uses examples.login.DirectorBacking class for login form authentication. DirectorBacking class uses default com.bea.p13n.security.Authentication class’s authenticate method for authentication. I could not understand the basic functionality of Authentication class as how it interacts with the database.
         Can we use simple JDBC for the login authentication in login.jsp ?

    U can define several authentication realms - which could be RDBMS, LDAP etc.
    Does that answer your question?

  • How to connect a database (Access)?

    can i know how to connect to MS ACCESS, the database file name is "account"
    I have column "name" with data "testing"
    and column "id" with data "123", can i know how to link the data and view it on JTextField?
    Thanks

    on Windows:
    Contr Panel->Admin Tools->Data Sources(ODBC)->System
    DNS tab->MS Access Driver, give it a name and use that
    name in ur code.
    <code>
    Class.forName(driverName);
    conn = DriverManager.getConnection(dbURL,"","");
    </code>
    i think the dbURL is
    'sun.jdbc.odbc.JdbcOdbcDriver'....Wrong. That's the name of the JDBC driver class.
    The URL is "jdbc:odbc:dsn", where dsn is the data source name you gave in the Control Panel.
    and i think standard
    SQL querying applies ... i haven't worked with access
    b4 so i am not sure...i would like to know the correct
    way...so keep me posted...
    good luck!If you stay away from M$ JET SQL and stick to ANSI SQL your code will be portable.

  • Library error when configuring PHP with OCI8

    I'm running into a problem running the configure command to include OCI8 in our Linux PHP in order to connect to a remote Oracle database. I've been following the instructions on the page:
    http://www.oracle.com/technology/pub/notes/technote_php_instant.html
    We have a CentOS 4.6 server:
    * 2.6.9-67.0.4.ELsmp
    * Apache Apache/2.0.52
    * PHP 4.x
    I've downloaded the latest PHP we can get for 4.x (4.4.8). I can compile and install the default PHP 4.4.8 without issue. However, trying to configure the OCI8 runs into problems:
    I've added the types to the httpd.conf file and installed the rpms:
    oracle-instantclient-basic-11.1.0.1-1.i386.rpm
    oracle-instantclient-devel-11.1.0.1-1.i386.rpm
    I'm unsure if 4.4.8 config.m4 is correct -- but if we try to use the php_oci8c_buildpatch, it fails, so I went with the default config.m4 in PHP 4.4.8.
    I try to configure with the command:
    ./configure with-oci8-instant-client prefix=/usr/local/bin/php with-apxs2 enable-sigchild --with-config-file-path=/etc/httpd/conf
    ...and get the error it can't find the libraries:
    checking for Oracle (OCI8) support using ORACLE_HOME installation... no
    checking for Oracle (OCI8) support using Oracle Instant Client... yes
    checking Oracle Instant Client directory... /usr/lib/oracle/11.1.0.1/client/lib
    checking Oracle Instant Client SDK header directory... /usr/include/oracle/11.1.0.1/client
    checking Oracle Instant Client version... configure: error: Oracle Instant Client libraries not found
    Yet, when I look at the directory where it says it is looking, I see the libraries:
    # ls -l /usr/lib/oracle/11.1.0.1/client/lib
    total 124160
    lrwxrwxrwx 1 root root 17 Feb 6 14:35 libclntsh.so -> libclntsh.so.11.1
    -rw-r--r-- 1 root root 35295891 Aug 1 2007 libclntsh.so.11.1
    -rw-r--r-- 1 root root 5839373 Aug 1 2007 libnnz11.so
    lrwxrwxrwx 1 root root 15 Feb 6 14:35 libocci.so -> libocci.so.11.1
    -rw-r--r-- 1 root root 2331572 Aug 1 2007 libocci.so.11.1
    -rw-r--r-- 1 root root 79215373 Aug 1 2007 libociei.so
    -rw-r--r-- 1 root root 129285 Aug 1 2007 libocijdbc11.so
    -rw-r--r-- 1 root root 1879924 Aug 1 2007 ojdbc5.jar
    -rw-r--r-- 1 root root 1977444 Aug 1 2007 ojdbc6.jar
    -rw-r--r-- 1 root root 299640 Aug 1 2007 ottclasses.zip
    Can anyone shed some light on what I'm missing? I've searched, poked, and prodded -- but am unable to find a solution.
    Thanks!
    Keith

    The problem is in PHP. If you open configure script you will see that PHP 4.4.8 does not know instantclient 11g. He just know 10g.
    So you have three options:
    1. use 10g instant client
    2. use PHP5 instead of PHP4 (as PHP4 are deprecated, so no new versions in the future)
    "Support for PHP 4 has been discontinued since 2007-12-31. Please consider upgrading to PHP 5.2. The release below is the last PHP 4 release."
    3. You can rewrite configure script :-) which is possible but according to option 2 this option is silly.

  • OracleXe - how to create a database access descriptor (DAD)

    Hi folks,
    I am trying to figure out how to create a DAD (database access descriptor) so I can access my pl/sql server pages which are installed on my oracleXe database.
    I have searched the docs and this forum and OTN but haven't found any information on how to do this.

    You can use DBMS_EPG for that purpose. E.g.:
    DBMS_EPG.CREATE_DAD (
       dad_name  IN  VARCHAR2,
       path      IN  VARCHAR2 DEFAULT NULL);More about DBMS_EPG you can find here:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_epg.htm
    In XML DB HTTP Server a DAD is represented as a servlet.
    Regards!

  • How to connect with database 11g from jdk1.6

    Hi
    Actually i am a beginner to java, please provide some documents related to database connectivity and
    explain stepwise for connection to oracle database 11g using jdk1.6.
    Regards
    Dhabas

    Star with the [JDBC tutorial. |http://java.sun.com/docs/books/tutorial/jdbc/].
    LAter you should look up datasources and how to configure and use them.

  • How make connection with DataBase without define the my DataBase in ODBC

    hi ...... iam using odbc-jdbc to connect an simple DB so i defined my DB on ODBC ....how i can connect my DB without define it on ODBC ,or, do this defination by programmer not by user ........thanks

    after search >>u can do that by JDBC .if u connect your application with microsoft DBMS so u can download the driver free from microsoft.
    good luck

  • How to work with database files on an external hard drive (USB 2.0 or 3.0)

    I have Oracle 11gR2 installed on my laptop. I would like to create a database instance on my laptop, but to put the datafiles on an external hard drive (USB 2.0 or 3.0). The external drive will always be attached to the laptop, whenever the database is used. This is going to be a development machine, just to develop a prototype. Laptop is limited to 150 GB on local disk and I want to have a 1 TB database on it. Can this be done with Oracle 11g for Windows XP SP2 ?
    I presume that a network attached storage NAS device would be better solution, but I cannot attach it on my LAN.
    Thank you,
    Milan

    Sure. You can put the data files wherever you'd like assuming that the external drive is going to be mapped to the same drive letter (I'm guessing your laptop is running Windows).
    Justin

  • How to connect with database in JBuilder?

    Hi,
    I try to connect with database in JBuilder7, but the connection is failed. please tell me what is wrong? thanks!
    In connection tab:
    Driver: sun.jdbc.odbc.jdbcodbcDriver
    URL: jdbc:odbc:MS Access Database:h:\onlinestore\database\book.mdb
    Error:
    com.borland.dx.dataset.DataSetException: [Microsoft][ODBC Driver Manager] Data source name too long
    Jun

    URL: jdbc:odbc:MS Access Database:h:\onlinestore\database\book.mdbshould be jdbc:odbc:DBname:book.mdb

  • How to connect with Microsoft Access Database with JAVA

    I want to know the command and query to connect between MSAccess and JDBC.
    Is it beter way to make connection with MSAccess comparing with other Databases such as SQL and Oracle.
    Which Database will be the best with Java?
    I also want to know to be platform indepadent which database is suitable?

    On Windows, you can use MS Access database by:
    Set up a System Data Source using the ODBC control panel applet.
    Use the jdbc:odbc bridge JDBC driver, and specify a jdbc url that points to the data source name you just specified.
    It's been too long since I've done this, so I don't remember the syntax of the jdbc url, but I'm sure that if you do a search for the jdbc:odbc bridge that you will find what you are looking for.
    As far as the question about which database is best, you will need to determine that based on your project requirements.
    If you want a quick and dirty, open source, cross-platform database, take a look at HyperSonic SQL.
    - K

  • HELP about How to connect with Database without JDBC ?

    Hello all,
    i have oracel8i database and my programe work fine with JDBC
    but now
    i want to connect my programe with database without using JDBC connection please any body tell me syntex for that,
    Class.forName("oracle.jdbc.driver.OracleDriver");
    databaseConnection = DriverManager.getConnection("??","arif","arif");
    i have user arif in my database and my computer name is "ABCD"
    Please help me,
    i m thanksfull,
    onlyforjava.

    Thanks i try it,
    url = "jdbc:oracle:thin:@ABCD:1521:" + sid;
    connection = DriverManager.getConnection(url,"arif","arif");
    but after that i got exception,
    java.sql.SQLException: Protocol violation
    Please help me,
    i m thanksfull.
    onlyforjava.

  • How to connect with database

    Hi All,
    i just finished BI installation 10.3.2 on 10g database. Can any one please inform me what steps i have to do more to access the 10g database by my BI application.
    I searched there is not sql*net or tnsname connection string in B I application.
    only jdbc connection, I don;t know what to enter where to enter for jdbc connection.
    All help will be appreciated.
    thanks
    A

    Hi A
    To confirm are you talking about the BI Publisher interface or the BIEE?
    If the former then pls check the user guide - there is help for setting up your connections to dbs via jdbc
    Regards
    Tim

  • How to make a simple BPEL-process with database access

    I hope somebody can help me.
    I want to make a BPEL process that get a message via MEDIATOR. That message has to update a database table.
    So far as I know : start in composite with mediator - bpel process and database adaptor.
    What have to be done in the bpel process ?
    I hope somebody can help me, Thnx, Carel

    In a nutshell -
    Create a Database Adapter in the composite.xml UI. Drag a wire from BPEL process to that db adapter you just created. Go to BPEL process (double click), use invoke activity after the initial receive activity, and drag a wire to make the connection to the partner link on the right hand side swim lane (which is your DB Adapter).
    On doing that, you will be seeing the input/output variables generated in the Invoke Activity (should be of type expected by DB adapter).
    Next - drop an assign activity between Receive and Invoke and make the transformations from the "message from the mediator" to this Input Variable (created as part of the invoke activity).
    You are good to go!
    Regards
    Swgt

  • How to read/write from Access database

    Hi everybody
    I need a little help for doing what I wrote in the topic!
    I use LabVIEW 6i student edition, do Ireally need to install the Database
    connectivity toolkit?

    Hi Vicio,
    There are a couple of different methods to communicate with Access in LabVIEW, and some are more difficult than others. You can use ActiveX Automation to open Microsoft Access and control many aspects of the Access Application. For actual database manipulation however, the Access automation classes rely upon the Microsoft DAO (Data Access Object) and/or ADO (ActiveX Data Object) classes. These classes can be used independently or through the Access automation classes to read and write data into an Access database. These classes can be difficult to use and may require a fair amount of SQL knowledge to accomplish a complicated task. Attached is a very simple example of how you can use DAO from the Access automation classes to read an Access table.
    For more information about the Microsoft Access automation classes, DAO or ADO classes refer to the Microsoft website and Developer Network:
    MSDN
    It is also possible to use Dynamic Data Exchange (DDE) communication between LabVIEW and Access. DDE is a Microsoft technology that preceded COM and ActiveX. DDE is NOT recommended as it is considered by most to be obsolete. However, examples still ship with LabVIEW that demonstrate how to communicate with MS Access using DDE. The examples are located in ..\LabVIEW\examples\comm\access.llb
    Note: The LabVIEW Database Connectivity Toolset is the preferred method of database communication with LabVIEW. The LabVIEW Database Connectivity Toolset offers many powerful tools and extended capabilites for quickly accessing databases. The LabVIEW Database Connectivity Toolset offers connectivity to most popular databases through Microsoft ADO technology, complete SQL Functionality, and the ability to save records in XML format. It provides both easy-to-use and advanced functions to allow common database operations as well as detailed database accessibility. The LabVIEW Database Connectivity Toolset is sold separately or in the LabVIEW Enterprise Connectivity Toolset along with the LabVIEW Statistical Process Toolkit and the LabVIEW Internet Developers Toolkit.
    Sincerely,
    Feroz
    National Instruments
    Attachments:
    Access_ActiveX.vi ‏43 KB

Maybe you are looking for