Topic: Add latest version php_oci8
The version 1.4.10 of php_oci8 don't work if php-fpm running as daemon
Could You update php_oci8 version to 2.0.8?
You are not logged in. Please login or register.
Please STOP WAR NOW! | |
For proper configuration and installation, please use the Configuration Wizard |
Versions: PHP ≤ 8.0 is EOL - PHP 8.1.28 - PHP 8.2.18 - PHP 8.2.19RC1 - PHP 8.3.6 - PHP 8.3.7RC1
More information: #remirepo IRC channel - Twitter: @RemiRepository - Discord server
Remi's RPM repository - Forum → User support → Add latest version php_oci8
The version 1.4.10 of php_oci8 don't work if php-fpm running as daemon
Could You update php_oci8 version to 2.0.8?
php-oci8 is build from PHP sources and provides 2 extensions
* oci8 version 1.4.9 in php 5.4, 1.4.10 in php 5.5 and 2.0.9 in php 5.6
* pdo_oci
The pecl/oci8 doesn't provides pdo_oci8. So I prefer to keep the bundled extension.
Well... perhaps I could provide both...
Can you please try php-pecl-oci8 version 2.0.8 which is now in the remi and remi-php55 repositories.
Notice: of course, you have to uninstall php-oci8 first.
Will be improved in next php build:
- php-oci8 obsoletes php-pecl-oci8 when version provided is greater (php 5.6 provides version 2.0.9), else php-oci8 conflicts with php-pecl-oci8 (php-pecl-oci8 cannot obsolete php-oci8 as it doesn't provide the PDO driver).
So admin will have to chose which package/extension they wants at install time.
P.S. and the package description have been slightly improved...
Notice, in the blog comment you say "...don't work if php-fpm running as daemon."
Probably you need to set the php-fpm environement for Oracle in the service configuration file (/etc/sysconfig/php-fpm), per example (need to be adapted)
# Patch to libclntsh.so.12.1
export LD_LIBRARY_PATH=/usr/lib64/oracle/12.1/client64/lib/
# locale
export NLS_LANG=FRENCH_FRANCE.AL32UTF8
# path to tnsadmin.ora
export TNS_ADMIN=/etc/oracle
Thank You.
All works with the php-pecl-oci8 package
I use php 5.5 and Oracle client 12.1
> All works with the php-pecl-oci8 package
Thanks for the feedback.
Remi's RPM repository - Forum → User support → Add latest version php_oci8
Generated in 0.017 seconds (87% PHP - 13% DB) with 11 queries
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 2 official extensions. Copyright © 2003–2009 PunBB.