openSUSE install php OCI8 extension

Аватар пользователя JKey

Какие есть инструкции:

Короткая пошаговая инструкция, без воды: 

1. Шаг первый

Устанавливаем необходимые зависимости для того чтобы возможно было собрать: 

  •  zypper in php5-devel
  •  zypper in oracle-instantclient-devel 
  •  zypper in php5-pear
  •  zypper in gcc
  •  zypper in make
  •  zypper in oracle-instantclient
  •  zypper in oracle-instantclient-devel

После того как поставили клиента, убеждаемся, что создан необходимый симлинк, ( если ставили из пакетов - должен быть) если нет тогда создаем руками:
ln -s libclntsh.so.11.1 libclntsh.so

Далее, хоть и заявленно что инсталятор сам найдет путь по которому лежит клиент ( если установлен из пакетов) , то практика показывает, что нифига сам он не могет. Необходим напильник:
ln -s /usr/include/oracle/11.2.0.4.0/client /usr/lib64/oracle/11.2.0.4.0/client/include
В противном случае, на этапе проверки уже отлетит, т.к. не сможет найти хидеры. А конкретно:
fatal error: oci.h: No such file or directory

running: make
/bin/sh /tmp/pear/temp/pear-build-rootVrSIS6/oci8-2.0.8/libtool --mode=compile cc  -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootVrSIS6/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-rootVrSIS6/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -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-rootVrSIS6/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-rootVrSIS6/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8.c  -fPIC -DPIC -o .libs/oci8.o
In file included from /tmp/pear/temp/oci8/oci8.c:46:0:
/tmp/pear/temp/oci8/php_oci8_int.h:60:17: fatal error: oci.h: No such file or directory
 #include <oci.h>
                 ^
compilation terminated.
Makefile:183: ошибка выполнения рецепта для цели «oci8.lo»
make: *** [oci8.lo] Ошибка 1
ERROR: `make' failed

2. Шаг второй

  • pecl install oci8
  • echo "/usr/lib64/oracle/11.2.0.4.0/client/lib" > /etc/ld.so.conf.d/oracle.conf 
  • echo "extension=oci8.so" > /etc/php5/conf.d/oci.ini

В файл /usr/share/apache2/load_configuration  добавить:
LANG=ru_RU.utf8
NLS_LANG=american_america.utf8
export LANG NLS_LANG

 

Вывод консоли

MyServer:/etc/php5/conf.d # rpm -ql oracle-instantclient
/etc/ld.so.conf.d/oracle-instantclient.conf
/etc/profile.d/instantclient.sh
/usr/bin/oracle-instantclient-config
/usr/lib64/oracle
/usr/lib64/oracle/11.2.0.4.0
/usr/lib64/oracle/11.2.0.4.0/client
/usr/lib64/oracle/11.2.0.4.0/client/bin
/usr/lib64/oracle/11.2.0.4.0/client/bin/adrci
/usr/lib64/oracle/11.2.0.4.0/client/bin/genezi
/usr/lib64/oracle/11.2.0.4.0/client/bin/uidrvci
/usr/lib64/oracle/11.2.0.4.0/client/lib
/usr/lib64/oracle/11.2.0.4.0/client/lib/libclntsh.so.11.1
/usr/lib64/oracle/11.2.0.4.0/client/lib/libnnz11.so
/usr/lib64/oracle/11.2.0.4.0/client/lib/libocci.so.11.1
/usr/lib64/oracle/11.2.0.4.0/client/lib/libociei.so
/usr/lib64/oracle/11.2.0.4.0/client/lib/libocijdbc11.so
/usr/lib64/oracle/11.2.0.4.0/client/lib/ojdbc5.jar
/usr/lib64/oracle/11.2.0.4.0/client/lib/ojdbc6.jar
/usr/lib64/oracle/11.2.0.4.0/client/lib/xstreams.jar
/usr/lib64/oracle/11.2.0.4.0/client/network
/usr/lib64/oracle/11.2.0.4.0/client/network/admin
/usr/lib64/oracle/11.2.0.4.0/client/network/admin/tnsnames.ora
/usr/share/doc/packages/oracle-instantclient
/usr/share/doc/packages/oracle-instantclient/BASIC_README
MyServer:/etc/php5/conf.d # rpm -ql oracle-instantclient-devel
/usr/bin/ott
/usr/include/oracle/11.2.0.4.0/client
/usr/include/oracle/11.2.0.4.0/client/ldap.h
/usr/include/oracle/11.2.0.4.0/client/nzerror.h
/usr/include/oracle/11.2.0.4.0/client/nzt.h
/usr/include/oracle/11.2.0.4.0/client/occi.h
/usr/include/oracle/11.2.0.4.0/client/occiAQ.h
/usr/include/oracle/11.2.0.4.0/client/occiCommon.h
/usr/include/oracle/11.2.0.4.0/client/occiControl.h
/usr/include/oracle/11.2.0.4.0/client/occiData.h
/usr/include/oracle/11.2.0.4.0/client/occiObjects.h
/usr/include/oracle/11.2.0.4.0/client/oci.h
/usr/include/oracle/11.2.0.4.0/client/oci1.h
/usr/include/oracle/11.2.0.4.0/client/oci8dp.h
/usr/include/oracle/11.2.0.4.0/client/ociap.h
/usr/include/oracle/11.2.0.4.0/client/ociapr.h
/usr/include/oracle/11.2.0.4.0/client/ocidef.h
/usr/include/oracle/11.2.0.4.0/client/ocidem.h
/usr/include/oracle/11.2.0.4.0/client/ocidfn.h
/usr/include/oracle/11.2.0.4.0/client/ociextp.h
/usr/include/oracle/11.2.0.4.0/client/ocikpr.h
/usr/include/oracle/11.2.0.4.0/client/ocixmldb.h
/usr/include/oracle/11.2.0.4.0/client/ocixstream.h
/usr/include/oracle/11.2.0.4.0/client/odci.h
/usr/include/oracle/11.2.0.4.0/client/oratypes.h
/usr/include/oracle/11.2.0.4.0/client/ori.h
/usr/include/oracle/11.2.0.4.0/client/orid.h
/usr/include/oracle/11.2.0.4.0/client/orl.h
/usr/include/oracle/11.2.0.4.0/client/oro.h
/usr/include/oracle/11.2.0.4.0/client/ort.h
/usr/include/oracle/11.2.0.4.0/client/xa.h
/usr/lib64/oracle/11.2.0.4.0/client/bin/ott
/usr/lib64/oracle/11.2.0.4.0/client/lib/libclntsh.so
/usr/lib64/oracle/11.2.0.4.0/client/lib/libocci.so
/usr/lib64/oracle/11.2.0.4.0/client/lib/ottclasses.zip
/usr/share/doc/packages/oracle-instantclient-devel
/usr/share/doc/packages/oracle-instantclient-devel/SDK_README
/usr/share/doc/packages/oracle-instantclient-devel/demo
/usr/share/doc/packages/oracle-instantclient-devel/demo/cdemo81.c
/usr/share/doc/packages/oracle-instantclient-devel/demo/demo.mk
/usr/share/doc/packages/oracle-instantclient-devel/demo/occidemo.sql
/usr/share/doc/packages/oracle-instantclient-devel/demo/occidemod.sql
/usr/share/doc/packages/oracle-instantclient-devel/demo/occidml.cpp
/usr/share/doc/packages/oracle-instantclient-devel/demo/occiobj.cpp
/usr/share/doc/packages/oracle-instantclient-devel/demo/occiobj.typ

 

MyServer:~ # pecl install oci8
downloading oci8-2.0.8.tar ...
Starting to download oci8-2.0.8.tar (1,608,704 bytes)
.............................................................................................................................................................................................................................................................................................................................done: 1,608,704 bytes
11 source files, building
running: phpize
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
Please provide the path to the ORACLE_HOME directory. Use 'instantclient,/path/to/instant/client/lib' if you're compiling with Oracle Instant Client [autodetect] : instantclient,/usr/lib64/oracle/11.2.0.4.0/client/lib
building in /tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8
running: /tmp/pear/temp/oci8/configure --with-oci8=instantclient,/usr/lib64/oracle/11.2.0.4.0/client/lib
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
checking for PHP extension directory... /usr/lib64/php5/extensions
checking for PHP installed headers prefix... /usr/include/php5
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for Oracle Database OCI8 support... yes, shared
checking PHP version... 5.6.1, ok
checking OCI8 DTrace support... no
checking size of long int... 8
checking checking if we're on a 64-bit platform... yes
checking Oracle Instant Client directory... /usr/lib64/oracle/11.2.0.4.0/client/lib
checking Oracle Instant Client SDK header directory... /usr/lib64/oracle/11.2.0.4.0/client/include
checking Oracle Instant Client library version compatibility... 11.1
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/sh /tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/libtool --mode=compile cc  -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/lib64/oracle/11.2.0.4.0/client/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-root25je3H/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/lib64/oracle/11.2.0.4.0/client/include -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8.c  -fPIC -DPIC -o .libs/oci8.o
/bin/sh /tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/libtool --mode=compile cc  -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/lib64/oracle/11.2.0.4.0/client/include  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/oci8/oci8_lob.c -o oci8_lob.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/lib64/oracle/11.2.0.4.0/client/include -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8_lob.c  -fPIC -DPIC -o .libs/oci8_lob.o
/bin/sh /tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/libtool --mode=compile cc  -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/lib64/oracle/11.2.0.4.0/client/include  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/oci8/oci8_statement.c -o oci8_statement.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/lib64/oracle/11.2.0.4.0/client/include -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8_statement.c  -fPIC -DPIC -o .libs/oci8_statement.o
/bin/sh /tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/libtool --mode=compile cc  -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/lib64/oracle/11.2.0.4.0/client/include  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/oci8/oci8_collection.c -o oci8_collection.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/lib64/oracle/11.2.0.4.0/client/include -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8_collection.c  -fPIC -DPIC -o .libs/oci8_collection.o
/bin/sh /tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/libtool --mode=compile cc  -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/lib64/oracle/11.2.0.4.0/client/include  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/oci8/oci8_interface.c -o oci8_interface.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/oci8 -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/lib64/oracle/11.2.0.4.0/client/include -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/oci8/oci8_interface.c  -fPIC -DPIC -o .libs/oci8_interface.o
/bin/sh /tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/include -I/tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/main -I/tmp/pear/temp/oci8 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/lib64/oracle/11.2.0.4.0/client/include  -DHAVE_CONFIG_H  -g -O2   -o oci8.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/modules  oci8.lo oci8_lob.lo oci8_statement.lo oci8_collection.lo oci8_interface.lo -Wl,-rpath,/usr/lib64/oracle/11.2.0.4.0/client/lib -L/usr/lib64/oracle/11.2.0.4.0/client/lib -lclntsh
libtool: link: cc -shared  -fPIC -DPIC  .libs/oci8.o .libs/oci8_lob.o .libs/oci8_statement.o .libs/oci8_collection.o .libs/oci8_interface.o   -L/usr/lib64/oracle/11.2.0.4.0/client/lib -lclntsh  -O2 -Wl,-rpath -Wl,/usr/lib64/oracle/11.2.0.4.0/client/lib   -Wl,-soname -Wl,oci8.so -o .libs/oci8.so
libtool: link: ( cd ".libs" && rm -f "oci8.la" && ln -s "../oci8.la" "oci8.la" )
/bin/sh /tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/libtool --mode=install cp ./oci8.la /tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/modules
libtool: install: cp ./.libs/oci8.so /tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/modules/oci8.so
libtool: install: cp ./.libs/oci8.lai /tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/modules/oci8.la
libtool: finish: PATH="/usr/bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/sbin" ldconfig -n /tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /tmp/pear/temp/pear-build-root25je3H/oci8-2.0.8/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

running: make INSTALL_ROOT="/tmp/pear/temp/pear-build-root25je3H/install-oci8-2.0.8" install
Installing shared extensions:     /tmp/pear/temp/pear-build-root25je3H/install-oci8-2.0.8/usr/lib64/php5/extensions/
running: find "/tmp/pear/temp/pear-build-root25je3H/install-oci8-2.0.8" | xargs ls -dils
1706586   4 drwxr-xr-x 3 root root   4096 июн  1 12:42 /tmp/pear/temp/pear-build-root25je3H/install-oci8-2.0.8
1706615   4 drwxr-xr-x 3 root root   4096 июн  1 12:42 /tmp/pear/temp/pear-build-root25je3H/install-oci8-2.0.8/usr
1706616   4 drwxr-xr-x 3 root root   4096 июн  1 12:42 /tmp/pear/temp/pear-build-root25je3H/install-oci8-2.0.8/usr/lib64
1706617   4 drwxr-xr-x 3 root root   4096 июн  1 12:42 /tmp/pear/temp/pear-build-root25je3H/install-oci8-2.0.8/usr/lib64/php5
1706618   4 drwxr-xr-x 2 root root   4096 июн  1 12:42 /tmp/pear/temp/pear-build-root25je3H/install-oci8-2.0.8/usr/lib64/php5/extensions
1706614 560 -rwxr-xr-x 1 root root 569683 июн  1 12:42 /tmp/pear/temp/pear-build-root25je3H/install-oci8-2.0.8/usr/lib64/php5/extensions/oci8.so

Build process completed successfully
Installing '/usr/lib64/php5/extensions/oci8.so'
install ok: channel://pecl.php.net/oci8-2.0.8
configuration option "php_ini" is not set to php.ini location
You should add "extension=oci8.so" to php.ini

HAPPY END =)

Тэги: 

Раздел сайта: