[root@portalgtm modules]# php -i | grep pdo
/etc/php.d/20-pdo.ini,
/etc/php.d/30-pdo_mysql.ini,
/etc/php.d/30-pdo_odbc.ini,
/etc/php.d/30-pdo_pgsql.ini,
/etc/php.d/30-pdo_sqlite.ini,
/etc/php.d/pdo_oci.ini
API Extensions => mysqli,pdo_mysql,mysql
pdo_mysql
pdo_mysql.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock
pdo_pgsql
pdo_sqlite
По пути /usr/lib64/php/modules
[root@portalgtm modules]# ll -s | grep oci
880 -rwxr-xr-x 1 root root 898408 окт 19 09:41 oci8.so
200 -rwxr-xr-x 1 root root 200968 окт 16 09:17 pdo_oci.so
SELECT *
FROM ( SELECT "t1".FAM, "t1".NAME, "t1".OTCH, "t1".DOL, "t2".DEPARTMENTS, "t1".PHONE, "t1".GOR_PHONE, "t1".EMAIL
FROM TD_EMPLOYEES "t1"
INNER JOIN TD_DEPARTMENTS "t2"
ON "t1".ID_DEPT = "t2".ID_DEPT) AS subquery1
JOIN ( select "t2".DEPARTMENTS, SYS_CONNECT_BY_PATH("t2".DEPARTMENTS, ' --> ')
from TD_DEPARTMENTS "t2"
connect by prior "t2".ID_DEPT = "t2".ID_PARENT_DEPT
start with "t2".ID_PARENT_DEPT is null) AS subquery2 USING (departments)
В phpinfo появились дополнительные строки про oci8 и подключение проходит без ошибки.