Post Abm8XwcpeXlufBbrkW by niqdanger@social.linux.pizza
(DIR) More posts by niqdanger@social.linux.pizza
(DIR) Post #Abm8XwcpeXlufBbrkW by niqdanger@social.linux.pizza
2023-11-13T17:28:42Z
0 likes, 1 repeats
Throwing a hail mary. Anyone I know working with php and oci8 for oracle? Just built two boxes following Red Hat instructions, one with php8 and one with php 8.1. Both using 'Oracle Instant Client', and can connect using sqlplus. No errors on building/loading php-fpm but both give the same error "undeclared function oci_connect()". I am not a php programmer or a oracle dba, just a stuck in the middle sysadmin. #monday #php #oracle
(DIR) Post #Abm8d94ymDc6jjFtKK by ParadeGrotesque@mastodon.sdf.org
2023-11-13T20:53:19Z
0 likes, 0 repeats
@niqdanger Are you, by any chance, mixing 32 and 64 bits systems?
(DIR) Post #Abm9BjPKDRodFhGPhY by niqdanger@social.linux.pizza
2023-11-13T20:59:34Z
0 likes, 0 repeats
@ParadeGrotesque Thanks for the reply. Nope. All linux x86_64. sqlplus will connect. php will not. I think I've narrowed it down to a tnsnames.ora problem but no idea how to set the environment var in php-fpm.conf. The OLD (RHEL7, PHP5) had some environment vars set in /etc/sysconfig/httpd