douyin7829 2019-06-04 08:35
浏览 497

无法在PHP 5.6上安装OCI8

I am trying to set up on a old linux server a OCI8. On server there is set up PHP 5.6, I am following this tutorial -

But I cant get pass this step sudo pecl install oci8-2.0.10 I always receive error. Tried to search and fix it with all given solutions but none worked for me.

enter image description here

Error :

running: make
/bin/bash /tmp/pear/temp/pear-build-root6D1HIg/oci8-2.0.10/libtool --mode=compile cc  -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root6D1HIg/oci8-2.0.10/include -I/tmp/pear/temp/pear-build-root6D1HIg/oci8-2.0.10/main -I/tmp/pear/temp/oci8 -I/usr/include/php/20180731 -I/usr/include/php/20180731/main -I/usr/include/php/20180731/TSRM -I/usr/include/php/20180731/Zend -I/usr/include/php/20180731/ext -I/usr/include/php/20180731/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/oracle/instantclient_12_1/sdk/include  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/oci8/oci8.c -o oci8.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root6D1HIg/oci8-2.0.10/include -I/tmp/pear/temp/pear-build-root6D1HIg/oci8-2.0.10/main -I/tmp/pear/temp/oci8 -I/usr/include/php/20180731 -I/usr/include/php/20180731/main -I/usr/include/php/20180731/TSRM -I/usr/include/php/20180731/Zend -I/usr/include/php/20180731/ext -I/usr/include/php/20180731/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/oracle/instantclient_12_1/sdk/include -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8.c  -fPIC -DPIC -o .libs/oci8.o
/tmp/pear/temp/oci8/oci8.c:36:40: fatal error: ext/standard/php_smart_str.h: No such file or directory
compilation terminated.
Makefile:196: recipe for target 'oci8.lo' failed
make: *** [oci8.lo] Error 1
ERROR: `make' failed
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大
    • ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
    • ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
    • ¥15 如何在炒股软件中,爬到我想看的日k线
    • ¥15 seatunnel 怎么配置Elasticsearch
    • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
    • ¥15 (标签-MATLAB|关键词-多址)
    • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
    • ¥500 52810做蓝牙接受端
    • ¥15 基于PLC的三轴机械手程序