确定/home/oracle/10.2.0.3/client/ 目录下游oci.h文件
./configure –prefix=/usr/local/php –with-config-file-path=/usr/local/php/etc –with-curl –with-zlib –enable-ftp –enable-inline-optimization –disable-debug –with-zlib –enable-xml –enable-soap –enable-zip –enable-mbstring –with-mhash –enable-mbstring –with-oci8=/home/oracle/10.2.0.3/client/
Makefile文件出来以后执行 sed -i ‘s#EXTRA_INCLUDES =#&-I/home/oracle/10.2.0.3/client/#’ Makefile
然后再make就能通过了。
Recent Comments