Oracle sql developer 3.2.1 download6/10/2023 ![]() mine was version 18.3 so it was located in this folder. # make sure of the instantclient path below. I had to manually build which some articles recommended: $ sudo yum install php-pear php-devel Note: I got the same oci8_dtrace_gen.h but 'sudo yum install systemtap-sdt-devel & export PHP_DTRACE=yes & pecl install oci8' didnt help (added the systemtap-stp-devel step as comment below reminded me I did read in some article that I had to install it for DTRACE ). I've searched everywhere for a solution, and I can only find outdated articles. Makefile:196: recipe for target 'oci8.lo' failed ![]() var/tmp/oci8/php_oci8_int.h:46:29: fatal error: oci8_dtrace_gen.h: No such file or directory In file included from /var/tmp/oci8/oci8.c:49:0: I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-roottqYEC6/oci8-2.1.4/include -I/var/tmp/pear-build-roottqYEC6/oci8-2.1.4/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/oracle/12.1/client64 -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8.c -fPIC -DPIC -o. I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-roottqYEC6/oci8-2.1.4/include -I/var/tmp/pear-build-roottqYEC6/oci8-2.1.4/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/oracle/12.1/client64 -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8.c -o oci8.lo However I get this error: /bin/sh /var/tmp/pear-build-roottqYEC6/oci8-2.1.4/libtool -mode=compile cc -I. I am trying to connect my fedora 25 webserver - php to Oracle db.
0 Comments
Leave a Reply. |