On Tue, September 17, 2013 18:46, Christopher Jones wrote:
>
>
> On 09/16/2013 11:55 PM, Anatol Belski wrote:
>
>>> I think what I should do is update OCI8 2.0's config.w32. I should
>>> remove the section:
>>>
>>> ARG_WITH("oci8", "OCI8 support", "no");
>>>
>>>
>>>
>>> if (PHP_OCI8 != "no") { ... }
>>>
>>>
>>>
>>> And update the 11g section to refer to 12c:
>>>
>>>
>>>
>>> ARG_WITH("oci8-12c", "OCI8 support using Oracle 12c Instant Client",
>>> "no");
>>>
>>>
>>>
>>> if (PHP_OCI8_12C != "no") { ... }
>>>
>>>
>>>
>>> Does this sound feasible?
>>>
>>>
>> As i can read from config.w32, if --with-oci8-11g was given, it
>> overwrites the config for --with-oci8, so instantclient_11 is used. Also
>> there is some corresponding code in the ext (just grep for 11g). So i'd
>> rather say not updating the 11g section, but adding this 12c snippet
>> after the 11g one. Then it'll overwrite/extend it again for
>> instanceclient_12. The compatibility with the previous versions will
>> also remain.
>>
>>>
>>> I assume that the PHP 5.4 & 5.5 releases would continue to build PHP
>>> OCI8 1.4 with both Oracle 10g & 11g client libraries?
>>>
>>>
>> I'm not the one who decides that, but I think that's right. If the new
>> OCI
>> version is going into PHP next and requires/offers the new Oracle SDK
>> functionality, then it might be the reason for a change.
>>
>> Regards
>>
>>
>> Anatol
>>
>>
>
> I am thinking that PHP OCI8 2.0 should only be built with Oracle 12
> client libraries. You would need to use --with-oci8-12c.
>
>
> I would not touch PHP OCI8 1.4 in the 5.4/5.5 sources, so they would
> continue to be built with Oracle 10 & 11 client libraries in the full PHP
> zip releases.
>
> Alternatively we could build OCI8 2.0 php_oci_11g.dll and php_oci_12c.dll
> Would that be too difficult?
>
>
> Chris
>
>
> --
> [email protected] http://twitter.com/ghrd Free PHP & Oracle
> book:
> http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual
> -098250.html
>
>
Hi Christopher,
please add the --with-oci8-12c option to the config.w32. Each time you
call EXTENSION() in config.w32, a new DLL will be produced. As that's the
basic feature, I have to fix the build system to pickup all the the
produced DLL. Let me know when the 12c option is implemented so I could
add it to the configs.
Regards
Anatol
--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php