Apache 2.2 + PHP5.2 + php_oci8.dll

Apache 2.2 + PHP5.2 + php_oci8.dll

am 23.12.2006 05:32:28 von james tanhs

------=_Part_49069_20078933.1166848348940
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Sorry, I posted into the php-general newsgroup earlier.

Hi,

I saw numerous posting on this type of posting and no one seems to have a
consistent solution to it.

Lately, I am quite disapointed with the pain of going thru this
configuration and testing.
I need to access the oracle 8i server db using XP + Oracle client 8i +
Apache 2.2 + PHP5.2 and I have tried
the following without success. What is the error ? not sumething special
but common
"PHP Warning: PHP Startup: Unable to load dynamic library
'c:\\php52\\ext\\php_oci8.dll' - The specified procedure could not be
found.\r\n in Unknown on line 0"
1. download the php_oci8.dll from
http://pecl4win.php.net/ext.php/php_oracle.dll (you name the version, tried
everythign doesn't work)
2. assign ORACLE_HOME, NSL_LANGUAGE...nope...doesn't work.
3. use old php4.1.xx + Apache 1.3xx on XP with Oracle client 8i...nope
doesn't work ( I use this in my NT4, it works like charm)
4. Zendcore for oracle...no no...it doesn't support Oracle 8i connectivity.

5. anyone know where to look for oracle 8i/9i clients for linux ? not
available at oracle website :(

Anyone can help ?

Tq

------=_Part_49069_20078933.1166848348940--

Re: Apache 2.2 + PHP5.2 + php_oci8.dll

am 29.12.2006 03:35:08 von james tanhs

------=_Part_53704_33192488.1167359708729
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi Chris,
I read the write out and found that oracle 10g client only support 9i and
above. So I assumed that it will not work with mine server runing on
oracle8i (8.1.5) with 8 compatible set. Hence, I didn't try to install the
10g client for any testing. I will get it download later to have a try.

Yup, I have visited
http://www.oracle.com/technology/software/products/database/ oracle10g/index.htmland
"Previous database releases". I am able to see the 10g client and 9i
server is there but not the 9i client for linux ( I just wonder why).
Thanks.


On 12/27/06, Christopher Jones wrote:
>
>
> PHP's oci8 extension on Windows is now compiled with an Oracle 10g client
> and depends on new functionality in it. The 10g Oracle Instant Client is
> freely available (and trivial to install) from
> http://www.oracle.com/technology/tech/oci/instantclient/inde x.html
> PHP configured with it will connect to Oracle 8i (aka 8.1) onwards, but
> not
> to Oracle 8.0.
>
> Zend Core for Oracle bundles Instant Client. Since you had problems with
> this,
> I'm wondering if the correct Oracle environment was set up for PHP?
>
> On #5, Oracle 9 on Linux is available from Oracle's database release
> download
> page. Follow the Oracle9i link beneath "Previous database releases" on
>
> http://www.oracle.com/technology/software/products/database/ oracle10g/index.html
>
> Chris
>
> james tanhs wrote:
> > Sorry, I posted into the php-general newsgroup earlier.
> >
> > Hi,
> >
> > I saw numerous posting on this type of posting and no one seems to have
> a
> > consistent solution to it.
> >
> > Lately, I am quite disapointed with the pain of going thru this
> > configuration and testing.
> > I need to access the oracle 8i server db using XP + Oracle client 8i +
> > Apache 2.2 + PHP5.2 and I have tried
> > the following without success. What is the error ? not sumething
> special
> > but common
> > "PHP Warning: PHP Startup: Unable to load dynamic library
> > 'c:\\php52\\ext\\php_oci8.dll' - The specified procedure could not be
> > found.\r\n in Unknown on line 0"
> > 1. download the php_oci8.dll from
> > http://pecl4win.php.net/ext.php/php_oracle.dll (you name the version,
> tried
> > everythign doesn't work)
> > 2. assign ORACLE_HOME, NSL_LANGUAGE...nope...doesn't work.
> > 3. use old php4.1.xx + Apache 1.3xx on XP with Oracle client 8i...nope
> > doesn't work ( I use this in my NT4, it works like charm)
> > 4. Zendcore for oracle...no no...it doesn't support Oracle 8i
> > connectivity.
> >
> > 5. anyone know where to look for oracle 8i/9i clients for linux ? not
> > available at oracle website :(
> >
> > Anyone can help ?
> >
> > Tq
> >
>
> --
> Christopher Jones, Oracle
> Email: Christopher.Jones@oracle.com Tel: +1 650 506 8630
> Blog: http://blogs.oracle.com/opal/
>

------=_Part_53704_33192488.1167359708729--

Re: Apache 2.2 + PHP5.2 + php_oci8.dll

am 29.12.2006 18:22:49 von Christopher Jones

Hi James,

From distant memory on 9i, all the software was in the one bundle. When
you run the installer you can choose either client or server installs.
There was no Instant Client with 9i. It was a new feature with 10g.

Try using Zend Core for Oracle - it's the simplest way to install.
You don't need to download a separate Oracle client to use it.

Chris

james tanhs wrote:
> Hi Chris,
> I read the write out and found that oracle 10g client only support 9i and
> above. So I assumed that it will not work with mine server runing on
> oracle8i (8.1.5) with 8 compatible set. Hence, I didn't try to install the
> 10g client for any testing. I will get it download later to have a try.
>
> Yup, I have visited
> http://www.oracle.com/technology/software/products/database/ oracle10g/index.htmland
>
> "Previous database releases". I am able to see the 10g client and 9i
> server is there but not the 9i client for linux ( I just wonder why).
> Thanks.
>
>
> On 12/27/06, Christopher Jones wrote:
>>
>>
>> PHP's oci8 extension on Windows is now compiled with an Oracle 10g client
>> and depends on new functionality in it. The 10g Oracle Instant Client is
>> freely available (and trivial to install) from
>> http://www.oracle.com/technology/tech/oci/instantclient/inde x.html
>> PHP configured with it will connect to Oracle 8i (aka 8.1) onwards, but
>> not
>> to Oracle 8.0.
>>
>> Zend Core for Oracle bundles Instant Client. Since you had problems with
>> this,
>> I'm wondering if the correct Oracle environment was set up for PHP?
>>
>> On #5, Oracle 9 on Linux is available from Oracle's database release
>> download
>> page. Follow the Oracle9i link beneath "Previous database releases" on
>>
>> http://www.oracle.com/technology/software/products/database/ oracle10g/index.html
>>
>>
>> Chris
>>
>> james tanhs wrote:
>> > Sorry, I posted into the php-general newsgroup earlier.
>> >
>> > Hi,
>> >
>> > I saw numerous posting on this type of posting and no one seems to have
>> a
>> > consistent solution to it.
>> >
>> > Lately, I am quite disapointed with the pain of going thru this
>> > configuration and testing.
>> > I need to access the oracle 8i server db using XP + Oracle client 8i +
>> > Apache 2.2 + PHP5.2 and I have tried
>> > the following without success. What is the error ? not sumething
>> special
>> > but common
>> > "PHP Warning: PHP Startup: Unable to load dynamic library
>> > 'c:\\php52\\ext\\php_oci8.dll' - The specified procedure could not be
>> > found.\r\n in Unknown on line 0"
>> > 1. download the php_oci8.dll from
>> > http://pecl4win.php.net/ext.php/php_oracle.dll (you name the version,
>> tried
>> > everythign doesn't work)
>> > 2. assign ORACLE_HOME, NSL_LANGUAGE...nope...doesn't work.
>> > 3. use old php4.1.xx + Apache 1.3xx on XP with Oracle client 8i...nope
>> > doesn't work ( I use this in my NT4, it works like charm)
>> > 4. Zendcore for oracle...no no...it doesn't support Oracle 8i
>> > connectivity.
>> >
>> > 5. anyone know where to look for oracle 8i/9i clients for linux ? not
>> > available at oracle website :(
>> >
>> > Anyone can help ?
>> >
>> > Tq
>> >
>>
>> --
>> Christopher Jones, Oracle
>> Email: Christopher.Jones@oracle.com Tel: +1 650 506 8630
>> Blog: http://blogs.oracle.com/opal/
>>
>


--
Christopher Jones, Oracle
Email: Christopher.Jones@oracle.com Tel: +1 650 506 8630
Blog: http://blogs.oracle.com/opal/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php