Created
December 17, 2015 19:26
-
-
Save arcostasi/d97eebc3a10ac53474f3 to your computer and use it in GitHub Desktop.
oci8 php5.6 fix dtrace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I fix this problem in my CENTOS 6.6 and php 5.6.8 in these two ways: | |
- If you need DTRACE: | |
yum install systemtap-sdt-devel | |
export PHP_DTRACE=yes | |
pecl install oci8 | |
- if you don't like DTRACE: | |
Download the oci8 tar ball and extract the files | |
modify the file 'php_oci8_int.h', change the 48th line | |
#include "oci8_dtrace_gen.h" to #undef HAVE_OCI8_DTRACE | |
phpize | |
./configure --with-oci8= | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment