<?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: PHP+Oracle failure... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511564#M841671</link>
    <description>Did you set ORACLE_HOME environment variable so it points to the oracle dir? If not try to set it before you start apache.&lt;BR /&gt;&lt;BR /&gt;And what version of oracle is it?</description>
    <pubDate>Mon, 28 Mar 2005 11:50:30 GMT</pubDate>
    <dc:creator>Alex Lavrov.</dc:creator>
    <dc:date>2005-03-28T11:50:30Z</dc:date>
    <item>
      <title>PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511558#M841665</link>
      <description>I have reviewed a couple of other threads pertaining to this same issue, but niether of these help me out.  I am running the HP Apache package A.2.0.52.00 and it ixMySQL package A.04.00-4.0.21.  I am getting the following error when I attempt to enable Oracle PHP support following the php.admin.guide that is in the /opt/hpws/apache/hpws_docs directory.&lt;BR /&gt;&lt;BR /&gt;[Thu Mar 24 15:08:28 2005] [notice] SIGHUP received.  Attempting to restart&lt;BR /&gt;PHP Warning:  Unknown(): Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/oci8.sl' - Call to mmap() failed - TEXT /opt/hpws/apache/php/lib/php/extensions/oci8.sl in Unknown on line 0&lt;BR /&gt;&lt;BR /&gt;I am running the Oracle 8.0.6.3 client on this system.  This appears to be a 32bit only version as there is no lib32 directory.  Any help in resolving this would be much appreciated.&lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Thu, 24 Mar 2005 16:18:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511558#M841665</guid>
      <dc:creator>Scott Nipp</dc:creator>
      <dc:date>2005-03-24T16:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511559#M841666</link>
      <description>Scott -- I know you said you had looked at a couple of other threads.&lt;BR /&gt;&lt;BR /&gt;This one :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=543837" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=543837&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;deals with your error and suggests setting the SHLIB_PATH .&lt;BR /&gt;&lt;BR /&gt;Is the library in question actually on the system ?&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Oz&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Mar 2005 19:45:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511559#M841666</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-03-25T19:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511560#M841667</link>
      <description>If oci8.sl on the system, check if it's the right version of it, because mmap() syscall fails when sl is not compatible.&lt;BR /&gt;&lt;BR /&gt;Reagrds,&lt;BR /&gt;Alex.</description>
      <pubDate>Sat, 26 Mar 2005 16:23:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511560#M841667</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-03-26T16:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511561#M841668</link>
      <description>I have set the SHLIB_PATH variable as described in the other thread.  This doesn't make a difference at all.&lt;BR /&gt;&lt;BR /&gt;I am not sure on checking the version of the oci8.sl library as someone else suggested.  How do I check the version?  What version does it need to be?  The Oracle home directory was copied from a different working system so I am not sure as to why this wouldn't work.&lt;BR /&gt;&lt;BR /&gt;Thanks again for the help.&lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Mon, 28 Mar 2005 09:47:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511561#M841668</guid>
      <dc:creator>Scott Nipp</dc:creator>
      <dc:date>2005-03-28T09:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511562#M841669</link>
      <description>Do you have oracle/oracle client installed on the machine? You must have oracle shared libraries installed, before you enable this extension.</description>
      <pubDate>Mon, 28 Mar 2005 09:58:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511562#M841669</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-03-28T09:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511563#M841670</link>
      <description>I copied the Oracle directory from a working system.  This was suggested by the DBA.&lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Mon, 28 Mar 2005 10:17:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511563#M841670</guid>
      <dc:creator>Scott Nipp</dc:creator>
      <dc:date>2005-03-28T10:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511564#M841671</link>
      <description>Did you set ORACLE_HOME environment variable so it points to the oracle dir? If not try to set it before you start apache.&lt;BR /&gt;&lt;BR /&gt;And what version of oracle is it?</description>
      <pubDate>Mon, 28 Mar 2005 11:50:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511564#M841671</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-03-28T11:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511565#M841672</link>
      <description>I am running Oracle 8.0.6.3.  Yes, the ORACLE_HOME variable has been set.</description>
      <pubDate>Mon, 28 Mar 2005 12:24:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511565#M841672</guid>
      <dc:creator>Scott Nipp</dc:creator>
      <dc:date>2005-03-28T12:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511566#M841673</link>
      <description>The question is, does apache aware of this variable. Try to start apache without oracle extension and lod this php page:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In the environment variables, do you see there ORACLE_HOME variable set?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Another very important thing is, look at the first box of phpinfo() output: "Configure Command"&lt;BR /&gt;&lt;BR /&gt;It's the compilation command of php, if you see there '--without-oci8', I'm afraid there is nothing you can do with this php you have, and u'll have to recompile it with '--with-oci8' option.</description>
      <pubDate>Mon, 28 Mar 2005 12:39:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511566#M841673</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-03-28T12:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511567#M841674</link>
      <description>OK...  This brings up some interesting information.  I am using the HP packages for Apache and MySQL/PHP.  In the apachectl file it directs you to uncomment some environment variable exports.  I have setup these, but then when I restart the Apache daemons and pull up the phpinfo page I don't see these variables.&lt;BR /&gt;&lt;BR /&gt;Any thoughts on this?</description>
      <pubDate>Mon, 28 Mar 2005 12:56:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511567#M841674</guid>
      <dc:creator>Scott Nipp</dc:creator>
      <dc:date>2005-03-28T12:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511568#M841675</link>
      <description>Can you save phpinfo page as html and attach it here? It can be helpful for me to see it.</description>
      <pubDate>Mon, 28 Mar 2005 13:14:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511568#M841675</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-03-28T13:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511569#M841676</link>
      <description>File /opt/hpws/apache/php/lib/php/extensions/oci8.sl is linked with oracle library libclntsh.sl.8.0. Can you please verify libclntsh library is on your system in $ORACLE_HOME/lib?&lt;BR /&gt;&lt;BR /&gt;$ export SHLIB_PATH=$ORACLE_HOME/lib&lt;BR /&gt;$ ldd /opt/hpws/apache/php/lib/php/extensions/oci8.sl&lt;BR /&gt;&lt;BR /&gt;This shouldn't return any errors about missing libclntsh.sl library.</description>
      <pubDate>Wed, 30 Mar 2005 01:28:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511569#M841676</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-03-30T01:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511570#M841677</link>
      <description>&lt;P&gt;I ran the commands suggested to test the Oracle library links and it completed without error.&lt;BR /&gt;&lt;BR /&gt;Here is the phpinfo output too...&lt;BR /&gt;&lt;BR /&gt;Scott&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 05:17:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511570#M841677</guid>
      <dc:creator>Scott Nipp</dc:creator>
      <dc:date>2024-05-27T05:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511571#M841678</link>
      <description>I'm afraid php was not compiled with oci support, so there is nothing you can do about, only recompile the whole thing with '--with-oci8' option.</description>
      <pubDate>Wed, 30 Mar 2005 15:13:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511571#M841678</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-03-30T15:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511572#M841679</link>
      <description>This doesn't make a lot of sense to me.  This is the HP version and the docs have instructions as to enabling Oracle support by editting the apachctl script.  Did HP just make a major blunder in the compiling of PHP?&lt;BR /&gt;&lt;BR /&gt;I don't think this is the case.  I believe that I have seen other threads for this same version that people have gotten working.  &lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Wed, 30 Mar 2005 15:18:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511572#M841679</guid>
      <dc:creator>Scott Nipp</dc:creator>
      <dc:date>2005-03-30T15:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511573#M841680</link>
      <description>If, so, the problem must be that there is no ORACLE_HOME variable defined in apache.&lt;BR /&gt;&lt;BR /&gt;What exactly you did to define it in apache?</description>
      <pubDate>Wed, 30 Mar 2005 15:24:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511573#M841680</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-03-30T15:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511574#M841681</link>
      <description>I setup the ORACLE_HOME variable in the apachectl as per the instructions.  &lt;BR /&gt;&lt;BR /&gt;export ORACLE_HOME=/usr/local/oracle/8.0.6.3&lt;BR /&gt;#export ORACLE_SID=oradb&lt;BR /&gt;export SHLIB_PATH=$ORACLE_HOME/lib:$APACHE_PREFIX/php/lib/php/extensions:$SHLIB_&lt;BR /&gt;PATH&lt;BR /&gt;&lt;BR /&gt;I have left the SID blank because the database that I am connecting to actually resides on another server.  &lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Wed, 27 Apr 2005 13:06:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511574#M841681</guid>
      <dc:creator>Scott Nipp</dc:creator>
      <dc:date>2005-04-27T13:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: PHP+Oracle failure...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511575#M841682</link>
      <description>Stumbled across the answer....&lt;BR /&gt;&lt;BR /&gt;Basically, it had to do with the apachectl script.  Unfortunately, I never bothered to actually do an 'apachectl stop' and then an 'apachectl start'.  I only ever tested with an 'apachectl restart'.  Once I did a full stop and restart everything started working.&lt;BR /&gt;&lt;BR /&gt;Thanks for the help and sorry for the run around.&lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Wed, 27 Apr 2005 13:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-oracle-failure/m-p/3511575#M841682</guid>
      <dc:creator>Scott Nipp</dc:creator>
      <dc:date>2005-04-27T13:38:31Z</dc:date>
    </item>
  </channel>
</rss>

