Hi Remi,
first of all, thank you for the great work you did with the php70 software collections. It makes the migration to php7 much easier.
Unfortunately, I’ve got the same Problem which skonealone had before in my CentOS release 6.6 x86_64 systems. It would be great if you can have a look on this issue.
Some slightly differences:
Using Oralce Instaclient 11.2
Using Centos 6.6
Using php 70 and modules as software collections from remi-safe.
I also get the following warnings:
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/remi/php70/root/usr/lib64/php/modules/oci8.so' - libclntsh.so.12.1: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/remi/php70/root/usr/lib64/php/modules/pdo_oci.so' - libclntsh.so.12.1: cannot open shared object file: No such file or directory in Unknown on line 0
And as before Problem appears in cli and apache startup.
Here are some additional Information:
>cat /etc/sysconfig/httpd
export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib
export LD_LIBRARY_PATH64=/usr/lib/oracle/11.2/client64/lib
>ll /usr/lib/oracle/11.2/client64/lib -la
total 181804
drwxr-xr-x 2 root root 4096 Aug 25 2014 .
drwxr-xr-x 4 root root 4096 Aug 25 2014 ..
-rw-r--r-- 1 root root 52761218 Sep 17 2011 libclntsh.so.11.1
-rw-r--r-- 1 root root 7955322 Sep 17 2011 libnnz11.so
-rw-r--r-- 1 root root 1971762 Sep 17 2011 libocci.so.11.1
-rw-r--r-- 1 root root 118408281 Sep 17 2011 libociei.so
-rw-r--r-- 1 root root 164836 Sep 17 2011 libocijdbc11.so
-rw-r--r-- 1 root root 2095661 Sep 17 2011 ojdbc5.jar
-rw-r--r-- 1 root root 2714016 Sep 17 2011 ojdbc6.jar
-rw-r--r-- 1 root root 66779 Sep 17 2011 xstreams.jar
>rpm -qa | grep php70
php70-php-7.0.6-3.el6.remi.x86_64
php70-php-oci8-7.0.6-3.el6.remi.x86_64
php70-php-common-7.0.6-3.el6.remi.x86_64
php70-php-fpm-7.0.6-3.el6.remi.x86_64
php70-php-odbc-7.0.6-3.el6.remi.x86_64
php70-php-pear-1.10.1-4.el6.remi.noarch
php70-php-json-7.0.6-3.el6.remi.x86_64
php70-php-pdo-7.0.6-3.el6.remi.x86_64
php70-php-xml-7.0.6-3.el6.remi.x86_64
php70-php-cli-7.0.6-3.el6.remi.x86_64
php70-php-ldap-7.0.6-3.el6.remi.x86_64
php70-php-process-7.0.6-3.el6.remi.x86_64
php70-runtime-1.0-4.el6.remi.x86_64
php70-1.0-4.el6.remi.x86_64
>rpm -qa | grep oracle
oracle-instantclient11.2-basic-11.2.0.3.0-1.x86_64
>scl enable php70 'export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib; php -v'
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/remi/php70/root/usr/lib64/php/modules/oci8.so' - libclntsh.so.12.1: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/remi/php70/root/usr/lib64/php/modules/pdo_oci.so' - libclntsh.so.12.1: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 7.0.6 (cli) (built: Apr 28 2016 21:34:10) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
>scl enable php70 'export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib; php -m'
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/remi/php70/root/usr/lib64/php/modules/oci8.so' - libclntsh.so.12.1: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/remi/php70/root/usr/lib64/php/modules/pdo_oci.so' - libclntsh.so.12.1: cannot open shared object file: No such file or directory in Unknown on line 0
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gettext
hash
iconv
json
ldap
libxml
odbc
openssl
pcntl
pcre
PDO
PDO_ODBC
pdo_sqlite
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zlib
[Zend Modules]
Thanks in advance,
Crest