<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CSWS/PHP Oracle9 connectivity in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870611#M31571</link>
    <description>Martin,&lt;BR /&gt;&lt;BR /&gt;About CSWS_PHP installation Guide and release notes, OCI8 extension :&lt;BR /&gt;&lt;BR /&gt;The problem is that i'm currently using Oracle 9 and there's no ora_root:[UTIL] directory on my server. So i actually don't know how define APACHE$OCI_SHR logical...&lt;BR /&gt;&lt;BR /&gt;But he documentation says that it works with any Oracle 8 and Oracle 9 database server, so i'm just looking for the right solution for Oracle 9&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 16 Nov 2004 03:41:34 GMT</pubDate>
    <dc:creator>berlioz</dc:creator>
    <dc:date>2004-11-16T03:41:34Z</dc:date>
    <item>
      <title>CSWS/PHP Oracle9 connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870608#M31568</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;With CSWS 2 (apache)/PHP under OpenVMS 7.3.2 i'm actually trying to interface an Oracle 9i database located on the same server with no success.&lt;BR /&gt;&lt;BR /&gt;In my php.ini i've uncommented "extension=php_oracle.exe"&lt;BR /&gt;In my apache$www:[000000]login.com i've added @orauser.com &lt;SID&gt;&lt;BR /&gt;&lt;BR /&gt;But... no connexion at that time... (php:ora_logon failed) &lt;BR /&gt;&lt;BR /&gt;Some can help me ?&lt;BR /&gt;thanks in advance for all&lt;BR /&gt;&lt;BR /&gt;&lt;/SID&gt;</description>
      <pubDate>Mon, 15 Nov 2004 11:38:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870608#M31568</guid>
      <dc:creator>berlioz</dc:creator>
      <dc:date>2004-11-15T11:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS/PHP Oracle9 connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870609#M31569</link>
      <description>berlioz,&lt;BR /&gt;&lt;BR /&gt;  I'd expect the process to be running under username APACHE$WWW or similar. Is that username authorized to access the database? Is there some way for your end user to provide a username/password to be used to login?</description>
      <pubDate>Mon, 15 Nov 2004 21:16:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870609#M31569</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-11-15T21:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS/PHP Oracle9 connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870610#M31570</link>
      <description>From &lt;A href="http://h71000.www7.hp.com/openvms/products/ips/apache/csws_php_relnotes.html#oci8ext" target="_blank"&gt;http://h71000.www7.hp.com/openvms/products/ips/apache/csws_php_relnotes.html#oci8ext&lt;/A&gt; I read that you need to define logical APACHE$OCI_SHR.&lt;BR /&gt;&lt;BR /&gt;What does &lt;A href="http://your.server/php/php_info.php" target="_blank"&gt;http://your.server/php/php_info.php&lt;/A&gt; say about Oracle connectivity (should appear in the "additional modules" section)?&lt;BR /&gt;&lt;BR /&gt;cu,&lt;BR /&gt;  Martin</description>
      <pubDate>Tue, 16 Nov 2004 02:28:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870610#M31570</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2004-11-16T02:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS/PHP Oracle9 connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870611#M31571</link>
      <description>Martin,&lt;BR /&gt;&lt;BR /&gt;About CSWS_PHP installation Guide and release notes, OCI8 extension :&lt;BR /&gt;&lt;BR /&gt;The problem is that i'm currently using Oracle 9 and there's no ora_root:[UTIL] directory on my server. So i actually don't know how define APACHE$OCI_SHR logical...&lt;BR /&gt;&lt;BR /&gt;But he documentation says that it works with any Oracle 8 and Oracle 9 database server, so i'm just looking for the right solution for Oracle 9&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Nov 2004 03:41:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870611#M31571</guid>
      <dc:creator>berlioz</dc:creator>
      <dc:date>2004-11-16T03:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS/PHP Oracle9 connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870612#M31572</link>
      <description>and no ORACLIENT_Vxxx.EXE too</description>
      <pubDate>Tue, 16 Nov 2004 03:42:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870612#M31572</guid>
      <dc:creator>berlioz</dc:creator>
      <dc:date>2004-11-16T03:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS/PHP Oracle9 connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870613#M31573</link>
      <description>AFAIK, you have to install the client separately from the database.&lt;BR /&gt;&lt;BR /&gt;And mind you: I'm no Oracle expert...&lt;BR /&gt;&lt;BR /&gt;cu,&lt;BR /&gt;  Martin&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Nov 2004 03:47:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870613#M31573</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2004-11-16T03:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS/PHP Oracle9 connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870614#M31574</link>
      <description>Here's the output for php_info.php&lt;BR /&gt;&lt;BR /&gt;ORACLE&lt;BR /&gt;&lt;BR /&gt;Oracle Support  enabled  &lt;BR /&gt;Oracle Version  no value  &lt;BR /&gt;Compile-time ORACLE_HOME  no value  &lt;BR /&gt;Libraries Used  no value  &lt;BR /&gt;&lt;BR /&gt;is it normal to have "no_value" for all oracle parameters ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Nov 2004 03:51:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870614#M31574</guid>
      <dc:creator>berlioz</dc:creator>
      <dc:date>2004-11-16T03:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS/PHP Oracle9 connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870615#M31575</link>
      <description>berlioz,&lt;BR /&gt;&lt;BR /&gt;define APACHE$OCI_SHR as &lt;ORA_DEV&gt;:[&lt;ORA_DIR&gt;.lib32]libclntsh.so" and try again&lt;BR /&gt;&lt;/ORA_DIR&gt;&lt;/ORA_DEV&gt;</description>
      <pubDate>Tue, 16 Nov 2004 05:25:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870615#M31575</guid>
      <dc:creator>J.M</dc:creator>
      <dc:date>2004-11-16T05:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS/PHP Oracle9 connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870616#M31576</link>
      <description>berlioz,&lt;BR /&gt;&lt;BR /&gt;I get the same output from php_info on a system here:&lt;BR /&gt;&lt;BR /&gt;OpenVMS 7.2-1H1&lt;BR /&gt;CSWS 1.3&lt;BR /&gt;CSWS_PHP 1.1&lt;BR /&gt;ORACLE 8.1.7&lt;BR /&gt;&lt;BR /&gt;And I *do* have an ORACLIENT_V817.EXE.&lt;BR /&gt;I've not yet tried to connect to the database&lt;BR /&gt;&lt;BR /&gt;cu,&lt;BR /&gt;  Martin</description>
      <pubDate>Tue, 16 Nov 2004 06:25:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870616#M31576</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2004-11-16T06:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS/PHP Oracle9 connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870617#M31577</link>
      <description>Hi Berlioz&lt;BR /&gt;&lt;BR /&gt;If you need install some Oracle product you can use "oracleins" symbol (login with oracle user).&lt;BR /&gt;&lt;BR /&gt;This procedure show a menu that allow install components of ORACLE, including UTIL directory.&lt;BR /&gt;&lt;BR /&gt;Best regards</description>
      <pubDate>Tue, 16 Nov 2004 07:36:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870617#M31577</guid>
      <dc:creator>Daniel Fernandez Illan</dc:creator>
      <dc:date>2004-11-16T07:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS/PHP Oracle9 connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870618#M31578</link>
      <description>Martin, Milan,&lt;BR /&gt;&lt;BR /&gt;According to a post in google comp.os.vms group, it seems that the HP CSWS/PHP installation and released notes doc is false.&lt;BR /&gt;&lt;BR /&gt;We have to define PHP$OCI_SHR and not APACHE$OCI_SHR in login.com in order APACHE/PHP to work with OCI.&lt;BR /&gt;&lt;BR /&gt;The right syntax for Oracle 9i seems to be something like :&lt;BR /&gt;define php$oci_shr ora_root:[lib32]libclntsh.so&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Nov 2004 11:03:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870618#M31578</guid>
      <dc:creator>berlioz</dc:creator>
      <dc:date>2004-11-16T11:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS/PHP Oracle9 connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870619#M31579</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I dug a little deeper inside the application development docs, and found that linking is documented as by using ORA_UTIL:LOUTL.COM. On my Oracle8 system the link with shared OCI image in that DCL procedure references ORA_OLB:ORACLIENT.OPT, which contains the line "ora_util:oraclient_V817/shareable".&lt;BR /&gt;&lt;BR /&gt;So for my system, ORACLIENT_V817.EXE seems to be the right shareable image. YMMV with your V9.&lt;BR /&gt;&lt;BR /&gt;cu,&lt;BR /&gt;  Martin</description>
      <pubDate>Wed, 17 Nov 2004 03:32:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870619#M31579</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2004-11-17T03:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS/PHP Oracle9 connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870620#M31580</link>
      <description>Here's my situation at that time (after 3 days of hard work... lol)&lt;BR /&gt;&lt;BR /&gt;that's what i've done in apache$www login.com.&lt;BR /&gt;$! &lt;BR /&gt;$ @ora_root:[000000]orauser &lt;SID&gt; &lt;BR /&gt;$! &lt;BR /&gt;$ define php$oci_shr ora_root:[lib32]libclntsh.so &lt;BR /&gt;$ define apache$oci_shr ora_root:[lib32]libclntsh.so &lt;BR /&gt;$ define php$oci_pfx " " &lt;BR /&gt;$ ! &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here's my php/oracle test script :&lt;BR /&gt;putenv("ORACLE_HOME=dka0:[produit.oracle]");&lt;BR /&gt;putenv("ORACLE_SID=PC1CA2");&lt;BR /&gt;putenv("LD_LIBRARY_PATH=dka0:[produit.oracle.lib32]");&lt;BR /&gt;putenv("TNS_ADMIN=dka0:[produit.oracle.network.admin]tnsnames.ora");&lt;BR /&gt;putenv("TWO_TASK=dka0:[produit.oracle.network.admin]tnsnames.ora");&lt;BR /&gt;putenv("ORACLE_BASE=dka0:[produit]");&lt;BR /&gt;$username = "valerie";&lt;BR /&gt;$paswd = "bei";&lt;BR /&gt;$db ="(DESCRIPTION =&lt;BR /&gt;(ADDRESS =&lt;BR /&gt;(PROTO = TCP)&lt;BR /&gt;(HOST = PC1CA2)&lt;BR /&gt;(PORT = 1521)&lt;BR /&gt;)&lt;BR /&gt;(CONNECT_DATA = (SID = PC1CA2))&lt;BR /&gt;)";&lt;BR /&gt;echo "&lt;P&gt;Attempting database connection...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;";&lt;BR /&gt;$db_conn = ocinlogon($username, $paswd, $db);&lt;BR /&gt;      if (!$db_conn)&lt;BR /&gt;      {&lt;BR /&gt;        echo "...FAILED.  Check the username, passwd, dbstring given in this script are valid or not.&lt;P&gt;&lt;/P&gt;";&lt;BR /&gt;        if (OCIError($db_conn))&lt;BR /&gt;        {&lt;BR /&gt;          $erra=OCIError($db_conn);&lt;BR /&gt;          dodberror("SQL Error: $erra[code] $erra[message]");&lt;BR /&gt;        }&lt;BR /&gt;        exit;&lt;BR /&gt;      }&lt;BR /&gt;      else&lt;BR /&gt;      {&lt;BR /&gt;        echo "&lt;P&gt;Connected...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;";&lt;BR /&gt;      }&lt;BR /&gt;&lt;BR /&gt;      $stmt = ociparse($db_conn, "select type_op,nom_op from acces");&lt;BR /&gt;      if (!$stmt)&lt;BR /&gt;      {&lt;BR /&gt;        echo '&lt;P&gt;parsing error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;';&lt;BR /&gt;      }&lt;BR /&gt;      if (!ociexecute($stmt,OCI_DEFAULT))&lt;BR /&gt;      {&lt;BR /&gt;        echo "&lt;FONT color="red"&gt;&lt;P&gt;query execute error!&lt;/P&gt;&lt;/FONT&gt;";&lt;BR /&gt;      }&lt;BR /&gt;   echo "&lt;TABLE border="1" cellspacing="0" width="50%"&gt;\n";&lt;BR /&gt;   $ncols = OCINumCols($stmt);&lt;BR /&gt;   echo "&lt;TBODY&gt;&lt;TR&gt;\n";&lt;BR /&gt;&lt;BR /&gt;   for ($i = 1; $i &amp;lt;= $ncols; $i++) {&lt;BR /&gt;    $column_name  = OCIColumnName($stmt,$i);&lt;BR /&gt;    echo "&lt;TD&gt;&lt;B&gt;$column_name&lt;/B&gt;&lt;/TD&gt;\n";&lt;BR /&gt;   }&lt;BR /&gt;&lt;BR /&gt;   while (OCIFetch($stmt))&lt;BR /&gt;      {&lt;BR /&gt;       echo "&lt;/TR&gt;&lt;TR&gt;\n";&lt;BR /&gt;        for ($i = 1; $i &amp;lt;= $ncols; $i++)&lt;BR /&gt;        {&lt;BR /&gt;          $column_value = OCIResult($stmt,$i);&lt;BR /&gt;          echo "&lt;TD&gt;&lt;B&gt;$column_value&lt;/B&gt;&lt;/TD&gt;\n";&lt;BR /&gt;        }&lt;BR /&gt;        echo "&lt;/TR&gt;\n";&lt;BR /&gt;      }&lt;BR /&gt;&lt;BR /&gt;      echo "\n";&lt;BR /&gt;   echo "&lt;/TBODY&gt;&lt;/TABLE&gt;\n";&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;      OCIFreeStatement($stmt);&lt;BR /&gt;      OCILogoff($db_conn);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now my php script connect to the database but i've a strange error when i'm &lt;BR /&gt;strying to select data&lt;BR /&gt;When drawn out from bases column is of type int (number) all is ok.&lt;BR /&gt;Data are presented on page, but when I drawing out of given type &lt;BR /&gt;Varchar (eg. name) then it doesn't work (white page without ORA error)!&lt;BR /&gt;I've tried to modify NLS_LANG environnement variable without any success, but &lt;BR /&gt;an Ora 12705 Invalid or unknown NLS parameter value specified.&lt;BR /&gt;What's the trouble ? environment problem ? NLS problem ? OCI pb ?&lt;BR /&gt;&lt;BR /&gt;What is the best way to define environment variable : in login.com ? in php script ?&lt;BR /&gt;&lt;BR /&gt;I need a way...&lt;BR /&gt;&lt;/SID&gt;</description>
      <pubDate>Thu, 18 Nov 2004 08:23:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870620#M31580</guid>
      <dc:creator>berlioz</dc:creator>
      <dc:date>2004-11-18T08:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS/PHP Oracle9 connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870621#M31581</link>
      <description>Berlioz,&lt;BR /&gt;&lt;BR /&gt;In php putenv is probably a wrapper arround the  C function putenv. This comes from the *NIX world. This function works fith environment variables which dont exist in VMS. The closest to this are VMS symbols. But the VMS setenv and putenv does not set any VMS symbols! The values set by these routines are visible only from the program.&lt;BR /&gt;&lt;BR /&gt;Maybe you can debug what is defined using the php function passthru() (passthru("show symbol/all") and passthru ("show logical")).&lt;BR /&gt;&lt;BR /&gt;But if you  define all symbols and logical names in login.com this will work.&lt;BR /&gt;&lt;BR /&gt;Bojan</description>
      <pubDate>Thu, 18 Nov 2004 09:01:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870621#M31581</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2004-11-18T09:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS/PHP Oracle9 connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870622#M31582</link>
      <description>Bojan,&lt;BR /&gt;&lt;BR /&gt;it's true that it's work better when i define logical in login.com&lt;BR /&gt;&lt;BR /&gt;actually, my problem seems to be an "oracle nls" problem while trying to retrive data from char and varchar value.</description>
      <pubDate>Thu, 18 Nov 2004 09:29:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870622#M31582</guid>
      <dc:creator>berlioz</dc:creator>
      <dc:date>2004-11-18T09:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: CSWS/PHP Oracle9 connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870623#M31583</link>
      <description>YES !!!!!!&lt;BR /&gt;&lt;BR /&gt;i've ****** solved my problem !!! (sorry but i've loose 4 days)&lt;BR /&gt;&lt;BR /&gt;The problem is in login.com&lt;BR /&gt;&lt;BR /&gt;don't invoke orauser.com, but just define ORACLE_HOME, ORACLE_SID and ORA_NLS33 &lt;BR /&gt;&lt;BR /&gt;And !!!! show must go on !!!&lt;BR /&gt;&lt;BR /&gt;Thanks for all</description>
      <pubDate>Thu, 18 Nov 2004 10:01:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/csws-php-oracle9-connectivity/m-p/4870623#M31583</guid>
      <dc:creator>berlioz</dc:creator>
      <dc:date>2004-11-18T10:01:26Z</dc:date>
    </item>
  </channel>
</rss>

