<?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: Apache/PHP/Oracle... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-php-oracle/m-p/4969304#M784889</link>
    <description>Hi Scott,&lt;BR /&gt;&lt;BR /&gt;probably your problem is the SHLIB_PATH variable. In the /opt/hpws/apache/bin/envvars file it should be set to &lt;BR /&gt;SHLIB_PATH="/opt/hpws/apache/lib:/home/oracle/product/816/lib64:/usr/local/pa20_64/lib:$SHLIB_PATH"&lt;BR /&gt;Make sure that the path is included here, where the libclntsh.sl library resides.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Eberhard&lt;BR /&gt;</description>
    <pubDate>Mon, 27 Mar 2006 08:19:12 GMT</pubDate>
    <dc:creator>Eberhard Maehr</dc:creator>
    <dc:date>2006-03-27T08:19:12Z</dc:date>
    <item>
      <title>Apache/PHP/Oracle...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-php-oracle/m-p/4969298#M784883</link>
      <description>I have installed the latest verion of the hpuxwsApache package (A.2.0.55.00) on a new system.  This is the first of a few systems that I will be upgrading to this version.  Unfortunately I am unable to get Oracle database connectivity working thru PHP.  So far, here is what I have done.&lt;BR /&gt;&lt;BR /&gt;1.  Editted the apachectl script to include the system specific Oracle parameters for the Oracle libraries etc.&lt;BR /&gt;2.  Editted the php.ini file to uncomment the oci8.sl extension line.&lt;BR /&gt;3.  Copied the Oracle client from a known working system.&lt;BR /&gt;&lt;BR /&gt;The error I am receiving is:&lt;BR /&gt;Fatal error: Call to undefined function OCILogon()&lt;BR /&gt;&lt;BR /&gt;Please help me figure this out.  This is the first time I have run into difficulties trying to configure this.  This is also the first time I have tried working with a package that is built with PHP5.  My guess is that this is related.  Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Thu, 23 Mar 2006 06:52:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-php-oracle/m-p/4969298#M784883</guid>
      <dc:creator>Scott Nipp</dc:creator>
      <dc:date>2006-03-23T06:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Apache/PHP/Oracle...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-php-oracle/m-p/4969299#M784884</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Oracle ships its own httpd server with the database and the application server that has this working already.&lt;BR /&gt;&lt;BR /&gt;Questions/possible suggestions:&lt;BR /&gt;1) Did this work on prior versions of the HPWS suite? if so, steal the configuration from there.&lt;BR /&gt;2) Is there an oracle provided httpd server around? If so, another source to steal code and configuratoin.&lt;BR /&gt;3) Is PHP 5 certfied to work with oracle by oracle? If not, you may wish to redeploy a version of HPWS with PHP4 or use the oracle provide httpd server for this issue.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 23 Mar 2006 07:17:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-php-oracle/m-p/4969299#M784884</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-03-23T07:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Apache/PHP/Oracle...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-php-oracle/m-p/4969300#M784885</link>
      <description>Just a little more information...  I turned on PHP error logging and here is the output.&lt;BR /&gt;&lt;BR /&gt;PHP Warning:  PHP Startup: Unable to load dynamic library&lt;BR /&gt; '/opt/hpws/apache/php/lib/php/extensions/oci8.sl' - Can't find path for shared&lt;BR /&gt;library: libclntsh.sl.8.0 in Unknown on line 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have confirmed that this library is indeed located in /usr/local/oracle/8.0.6.3/lib, and this is in the PATH setup in the apachectl file.  Once again, please help.&lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Thu, 23 Mar 2006 07:43:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-php-oracle/m-p/4969300#M784885</guid>
      <dc:creator>Scott Nipp</dc:creator>
      <dc:date>2006-03-23T07:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Apache/PHP/Oracle...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-php-oracle/m-p/4969301#M784886</link>
      <description>hi scott,&lt;BR /&gt;&lt;BR /&gt;also have a look at the documentations on how to install and configure these:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.oracle.com/technology/tech/php/htdocs/inst_php_apache_linux.html" target="_blank"&gt;http://www.oracle.com/technology/tech/php/htdocs/inst_php_apache_linux.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 23 Mar 2006 08:29:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-php-oracle/m-p/4969301#M784886</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-03-23T08:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Apache/PHP/Oracle...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-php-oracle/m-p/4969302#M784887</link>
      <description>Your problem probably stems from the fact that you need to relink the binaries on the computer that you've put them on.  Go to the ORACLE_HOME directory as the user that "owns" the ORACLE_HOME.  &lt;BR /&gt;Make sure that ORACLE_HOME is defined in the environment.&lt;BR /&gt;&lt;BR /&gt;Run:&lt;BR /&gt;&lt;BR /&gt;find . -name "ins*.mk"&lt;BR /&gt;&lt;BR /&gt;Then, for each of the above, cd to that directory and run&lt;BR /&gt;make -f ins_[whateverfilename].mk install&lt;BR /&gt;&lt;BR /&gt;repeat for each of the files - &lt;BR /&gt;&lt;BR /&gt;Or go to ORACLE_HOME/bin and run the "relink" command for each module in the ORACLE_HOME.  For instance, you'll see that there is a "precomp" subdirectory, and a plsql directory.&lt;BR /&gt;&lt;BR /&gt;So, you would run:&lt;BR /&gt;./relink precomp&lt;BR /&gt;and then&lt;BR /&gt;./relink plsql&lt;BR /&gt;&lt;BR /&gt;Either of the two above methods should get you going.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Mar 2006 09:03:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-php-oracle/m-p/4969302#M784887</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2006-03-23T09:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Apache/PHP/Oracle...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-php-oracle/m-p/4969303#M784888</link>
      <description>OK.  I have managed to get a little further, but now I am definitely stuck.  Here is the output from the php_error.log when Apache starts up.&lt;BR /&gt;&lt;BR /&gt;PHP Warning:  PHP Startup: zM-jM-pM- zM-keM-2zM-jM-kxzM-j&lt;BR /&gt;M-pM-^PzM-keM-:zM-jM-kxzM-jM-pM-^@zM-kfB: Unable to initialize module&lt;BR /&gt;Module compiled with module API=20020429, debug=0, thread-safety=1&lt;BR /&gt;PHP    compiled with module API=20041030, debug=0, thread-safety=1&lt;BR /&gt;These options need to match&lt;BR /&gt; in Unknown on line 0&lt;BR /&gt;&lt;BR /&gt;I got to this by linking the libclntsh.sl library into a library path I founds from a strings output of the oci8.sl library in the Apache installation.  Once again, help?!?!&lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Thu, 23 Mar 2006 10:26:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-php-oracle/m-p/4969303#M784888</guid>
      <dc:creator>Scott Nipp</dc:creator>
      <dc:date>2006-03-23T10:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Apache/PHP/Oracle...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-php-oracle/m-p/4969304#M784889</link>
      <description>Hi Scott,&lt;BR /&gt;&lt;BR /&gt;probably your problem is the SHLIB_PATH variable. In the /opt/hpws/apache/bin/envvars file it should be set to &lt;BR /&gt;SHLIB_PATH="/opt/hpws/apache/lib:/home/oracle/product/816/lib64:/usr/local/pa20_64/lib:$SHLIB_PATH"&lt;BR /&gt;Make sure that the path is included here, where the libclntsh.sl library resides.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;Eberhard&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Mar 2006 08:19:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-php-oracle/m-p/4969304#M784889</guid>
      <dc:creator>Eberhard Maehr</dc:creator>
      <dc:date>2006-03-27T08:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Apache/PHP/Oracle...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-php-oracle/m-p/4969305#M784890</link>
      <description>I did a strings on the oci8.sl file in the /opt/hpws/apache/php/lib/php/extensions directory and discovered that it is looking for the libslntsh.sl library in /opt/oracle/lib.  This simplest thing for me to do was to create this directory and put a link in there to the actual location of the library.&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.  I know that this is not the best way to handle this, but it gets the job done.  I have the SHLIB_PATH variable set to include the proper path in the apachectl file that starts Apache, but this did not resolve the issue.  I fell back on this to correct this behavior.</description>
      <pubDate>Mon, 27 Mar 2006 10:17:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-php-oracle/m-p/4969305#M784890</guid>
      <dc:creator>Scott Nipp</dc:creator>
      <dc:date>2006-03-27T10:17:37Z</dc:date>
    </item>
  </channel>
</rss>

